diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-01-08 00:52:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-08 00:52:48 -0500 |
| commit | 45250f367ffa6c4325c05f10a87071742279c07f (patch) | |
| tree | 3e50c3b1af938e3240aaee63aefcc5684664b15b | |
| parent | 5fa7c6a97aeca1fe7ad78caae7f4fdf680ce029d (diff) | |
| parent | af15e048b209e98d8dfc5122129b49cd40524a0a (diff) | |
| download | rust-45250f367ffa6c4325c05f10a87071742279c07f.tar.gz rust-45250f367ffa6c4325c05f10a87071742279c07f.zip | |
Rollup merge of #135184 - biabbas:reserve_18_aarch64, r=workingjubilee
Reserve x18 register for aarch64 wrs vxworks target Fixes #135166 r? ``@workingjubilee`` Regards, B I Abbas
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/aarch64_wrs_vxworks.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_wrs_vxworks.rs b/compiler/rustc_target/src/spec/targets/aarch64_wrs_vxworks.rs index d5e78d03076..ac53cbaecce 100644 --- a/compiler/rustc_target/src/spec/targets/aarch64_wrs_vxworks.rs +++ b/compiler/rustc_target/src/spec/targets/aarch64_wrs_vxworks.rs @@ -13,7 +13,7 @@ pub(crate) fn target() -> Target { 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(), arch: "aarch64".into(), options: TargetOptions { - features: "+v8a".into(), + features: "+v8a,+reserve-x18".into(), max_atomic_width: Some(128), stack_probes: StackProbeType::Inline, ..base::vxworks::opts() |
