Aarch64: target_feature="neon" enabled on nightly

It seems that neon is always enabled as a target_feature on nightly-aarch64-unknown-linux-gnu and nightly-aarch64-apple-darwin but not on the respective stable toolchains. Is that on purpose?

pi@raspberrypi:~ $ rustup default stable
[...]
  stable-aarch64-unknown-linux-gnu unchanged - rustc 1.52.0 (88f19c6da 2021-05-03)

pi@raspberrypi:~ $ rustc --print cfg
debug_assertions
target_arch="aarch64"
target_endian="little"
target_env="gnu"
target_family="unix"
target_os="linux"
target_pointer_width="64"
target_vendor="unknown"
unix

pi@raspberrypi:~ $ rustup default nightly
[...]
  nightly-aarch64-unknown-linux-gnu unchanged - rustc 1.54.0-nightly (881c1ac40 2021-05-08)

pi@raspberrypi:~ $ rustc --print cfg
[...]
target_feature="fp"
target_feature="neon"
[...]

For anyone interested: answer on internals

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.