Skip to content

Commit

Permalink
Rollup merge of rust-lang#132295 - the8472:remove-randomize-exclusion…
Browse files Browse the repository at this point in the history
…1, r=onur-ozkan

fixed wast version was released, remove randomization exemption
  • Loading branch information
workingjubilee authored Oct 29, 2024
2 parents f788d4c + 673867e commit 0f99a7e
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 0f99a7e

Please sign in to comment.