Auto merge of #132295 - the8472:remove-randomize-exclusion1, r=onur-ozkan

fixed wast version was released, remove randomization exemption
This commit is contained in:
bors 2025-02-27 01:37:30 +00:00
commit 96cfc75584

View file

@ -608,11 +608,10 @@ impl Builder<'_> {
}
// FIXME: the following components don't build with `-Zrandomize-layout` yet:
// - wasm-component-ld, due to the `wast`crate
// - rust-analyzer, due to the rowan crate
// so we exclude entire categories of steps here due to lack of fine-grained control over
// so we exclude an entire category of steps here due to lack of fine-grained control over
// rustflags.
if self.config.rust_randomize_layout && mode != Mode::ToolStd && mode != Mode::ToolRustc {
if self.config.rust_randomize_layout && mode != Mode::ToolRustc {
rustflags.arg("-Zrandomize-layout");
}