about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-02-27 01:37:30 +0000
committerbors <bors@rust-lang.org>2025-02-27 01:37:30 +0000
commit96cfc75584359ae7ad11cc45968059f29e7b44b7 (patch)
tree8b95d7fc7e620c9845f09434c3c0c13a8cedbb63
parent00f245915b0c7839d42c26f9628220c4f1b93bf6 (diff)
parent756013f3e94b7389981aec093053e0c1324c2958 (diff)
downloadrust-96cfc75584359ae7ad11cc45968059f29e7b44b7.tar.gz
rust-96cfc75584359ae7ad11cc45968059f29e7b44b7.zip
Auto merge of #132295 - the8472:remove-randomize-exclusion1, r=onur-ozkan
fixed wast version was released, remove randomization exemption
-rw-r--r--src/bootstrap/src/core/builder/cargo.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bootstrap/src/core/builder/cargo.rs b/src/bootstrap/src/core/builder/cargo.rs
index 4f6d53e9fc8..0aab9f04fea 100644
--- a/src/bootstrap/src/core/builder/cargo.rs
+++ b/src/bootstrap/src/core/builder/cargo.rs
@@ -608,11 +608,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");
         }