Skip to content

Commit ca58013

Browse files
committed
Enable features that are always available in a live system.
While some neon and crypto features may not be supported on the switch at boot (e.g. on the a53 cores), the features will _always_ be available if running as a sysmodule or homebrew application under Horizon/Atmosphere.
1 parent 498ae9f commit ca58013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/targets/aarch64_nintendo_switch_freestanding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub(crate) fn target() -> Target {
1919
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32".into(),
2020
arch: "aarch64".into(),
2121
options: TargetOptions {
22-
features: "+v8a".into(),
22+
features: "+v8a,+neon,+crypto".into(),
2323
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
2424
linker: Some("rust-lld".into()),
2525
link_script: Some(LINKER_SCRIPT.into()),

0 commit comments

Comments
 (0)