Skip to content

Commit 94ee84f

Browse files
authored
Rollup merge of rust-lang#132295 - the8472:remove-randomize-exclusion1, r=onur-ozkan
fixed wast version was released, remove randomization exemption
2 parents 9d9216f + 673867e commit 94ee84f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bootstrap/src/core/builder/cargo.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -580,11 +580,10 @@ impl Builder<'_> {
580580
}
581581

582582
// FIXME: the following components don't build with `-Zrandomize-layout` yet:
583-
// - wasm-component-ld, due to the `wast`crate
584583
// - rust-analyzer, due to the rowan crate
585-
// so we exclude entire categories of steps here due to lack of fine-grained control over
584+
// so we exclude an entire category of steps here due to lack of fine-grained control over
586585
// rustflags.
587-
if self.config.rust_randomize_layout && mode != Mode::ToolStd && mode != Mode::ToolRustc {
586+
if self.config.rust_randomize_layout && mode != Mode::ToolRustc {
588587
rustflags.arg("-Zrandomize-layout");
589588
}
590589

0 commit comments

Comments
 (0)