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 Oct 28, 2024
1 parent 3f1be1e commit 673867e
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 @@ -580,11 +580,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 673867e

Please sign in to comment.