about summary refs log tree commit diff
path: root/compiler/rustc_session/src/options.rs
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2025-05-05 12:34:22 +0000
committerAlice Ryhl <aliceryhl@google.com>2025-05-05 12:42:27 +0000
commit4b58c5034a59f58b9ba1a713a667b4d9ffc1df34 (patch)
tree831b02eb6f50996b917e11c731612c8046402379 /compiler/rustc_session/src/options.rs
parentdb074a06fe6649f9455dff8ad3eddd60683036f3 (diff)
downloadrust-4b58c5034a59f58b9ba1a713a667b4d9ffc1df34.tar.gz
rust-4b58c5034a59f58b9ba1a713a667b4d9ffc1df34.zip
Make -Zfixed-x18 into a target modifier
Diffstat (limited to 'compiler/rustc_session/src/options.rs')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 5f4695fb184..c3d922fc9c5 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -2208,7 +2208,7 @@ options! {
     fewer_names: Option<bool> = (None, parse_opt_bool, [TRACKED],
         "reduce memory use by retaining fewer names within compilation artifacts (LLVM-IR) \
         (default: no)"),
-    fixed_x18: bool = (false, parse_bool, [TRACKED],
+    fixed_x18: bool = (false, parse_bool, [TRACKED TARGET_MODIFIER],
         "make the x18 register reserved on AArch64 (default: no)"),
     flatten_format_args: bool = (true, parse_bool, [TRACKED],
         "flatten nested format_args!() and literals into a simplified format_args!() call \