about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorReuben Cruise <reuben.cruise@arm.com>2025-09-01 16:53:50 +0100
committerReuben Cruise <reuben.cruise@arm.com>2025-09-17 14:16:31 +0100
commit6f813e887af44d74e9bcfdb207ecab407037a939 (patch)
tree73791884e5f61983e200be3b173f58d71a090f41 /compiler/rustc_interface/src
parent2ebb1263e3506412889410b567fa813ca3cb5c63 (diff)
downloadrust-6f813e887af44d74e9bcfdb207ecab407037a939.tar.gz
rust-6f813e887af44d74e9bcfdb207ecab407037a939.zip
Adds AArch64 GCS support
- Adds option to rustc config to enable GCS
- Passes `guarded-control-stack` flag to llvm if enabled
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 7730bddc0f1..800f5efee41 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -772,7 +772,8 @@ fn test_unstable_options_tracking_hash() {
         branch_protection,
         Some(BranchProtection {
             bti: true,
-            pac_ret: Some(PacRet { leaf: true, pc: true, key: PAuthKey::B })
+            pac_ret: Some(PacRet { leaf: true, pc: true, key: PAuthKey::B }),
+            gcs: true,
         })
     );
     tracked!(codegen_backend, Some("abc".to_string()));