Skip to content

Commit 756013f

Browse files
committed
fixed wast version was released, remove randomization exemption
1 parent c241e14 commit 756013f

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
@@ -611,11 +611,10 @@ impl Builder<'_> {
611611
}
612612

613613
// FIXME: the following components don't build with `-Zrandomize-layout` yet:
614-
// - wasm-component-ld, due to the `wast`crate
615614
// - rust-analyzer, due to the rowan crate
616-
// so we exclude entire categories of steps here due to lack of fine-grained control over
615+
// so we exclude an entire category of steps here due to lack of fine-grained control over
617616
// rustflags.
618-
if self.config.rust_randomize_layout && mode != Mode::ToolStd && mode != Mode::ToolRustc {
617+
if self.config.rust_randomize_layout && mode != Mode::ToolRustc {
619618
rustflags.arg("-Zrandomize-layout");
620619
}
621620

0 commit comments

Comments
 (0)