Skip to content

Commit a4c0add

Browse files
committed
Add target_env = "freestanding"
1 parent 746c322 commit a4c0add

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub(crate) fn target() -> Target {
2323
linker: Some("rust-lld".into()),
2424
link_script: Some(LINKER_SCRIPT.into()),
2525
os: "horizon".into(),
26+
env: "freestanding".into(),
2627
vendor: "nintendo".into(),
2728
max_atomic_width: Some(128),
2829
stack_probes: StackProbeType::Inline,

0 commit comments

Comments
 (0)