Native CPU is not reported on Raspbian #84890
Labels
A-targets
Area: Concerning the implications of different compiler targets
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Executing
rustc --print target-cpus
orrustc -Ctarget-cpu=help
on Raspberry Pi 4 prints the following:In contrast, executing the same command on Windows or Ubuntu on x86-64 also prints native CPU:
In source code there is check for cross compilation. Native CPU is only printed when not cross compiling:
However I'm not cross compiling. I'm using rust installed from rustup and don't have any additional targets installed.
rustup show
:lsb_release -a
:rustc --version --verbose
:Relevant #44393 #44407
The text was updated successfully, but these errors were encountered: