Skip to content

Commit

Permalink
fixed wast version was released, remove randomization exemption
Browse files Browse the repository at this point in the history
  • Loading branch information
the8472 committed Feb 13, 2025
1 parent c241e14 commit 756013f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/bootstrap/src/core/builder/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -611,11 +611,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");
}

Expand Down

0 comments on commit 756013f

Please sign in to comment.