Files
rust/compiler/rustc_session
Jonathan Brouwer 4a1f44c04a Rollup merge of #157941 - arielb1:deny-partial-stack-protector, r=rcvalle
Deny partial `-Z stack-protector` by default in all editions

Deny it only as a warn-by-default future-incompatibility warning.

This enables RFC 3855 for stack-protector. With this PR, uses of stack-protector that only have it enabled for a subset of the crates within a process need to pass `-Z allow-partial-mitigations=stack-protector` as well.

This was not done in rust-lang/rust#149357 to allow for a smooth transition period.

cc the stack-protector tracking issue at rust-lang/rust#114903.

r? @rcvalle (do we need any special protocol for the breaking change?)
2026-10-08 21:49:55 +02:00
..
2026-08-21 10:35:10 +02:00