Summary
Develop and stabilize compiler features that Rust for Linux uses. This is a continuation of the existing Rust for Linux effort.
Tasks and status
Note: we have updated the body to match the 2026 goal. Your original text is preserved below.
Details
Summary
Continue working towards Rust for Linux on stable. In particular, this goal is focused on the compiler features.
Tasks and status
Finish and stabilize a given -Z... flag
Flags in use that need to be stabilized:
Flags to be used in the future:
Summary
Develop and stabilize compiler features that Rust for Linux uses. This is a continuation of the existing Rust for Linux effort.
Tasks and status
Note: we have updated the body to match the 2026 goal. Your original text is preserved below.
Details
Summary
Continue working towards Rust for Linux on stable. In particular, this goal is focused on the compiler features.
Tasks and status
Finish and stabilize a given
-Z...flagFlags in use that need to be stabilized:
-Zbranch-protection(arm64)-Zcf-protection(x86_64)-Zcrate-attr#![register_tool]-Zdebuginfo-compression-Zdirect-access-external-data(loongarch)-Zfixed-x18(arm64)-Zfunction-return(x86)-Zfunction-sections-Zno-jump-tables(x86_64)-Zunpretty=expanded-Zsanitizer=kernel-address(arm64, riscv64)-Zsanitizer=shadow-call-stack(arm64, riscv64)-Zsanitizer=kcfiand-Zsanitizer-cfi-normalize-integers(arm64, riscv64, x86_64)Flags to be used in the future:
-Zharden-sls(x86_64)-Zindirect-branch-cs-prefix(x86)-Zmin-function-alignment-Zrandomize-layout-Zregparm(x86_32)-Zreg-struct-return(x86_32)-Zretpolineand-Zretpoline-external-thunk(x86)-Zsanitizer=kernel-hwaddress-Zsanitizer-recover=kernel-hwaddress(aarch64)-Zsanitize-kcfi-arity(x86_64)