exclude tools with deps that have size asserts
This commit is contained in:
parent
df20808f4d
commit
c218c75456
1 changed files with 6 additions and 1 deletions
|
@ -1614,7 +1614,12 @@ impl<'a> Builder<'a> {
|
||||||
rustflags.arg("-Csymbol-mangling-version=legacy");
|
rustflags.arg("-Csymbol-mangling-version=legacy");
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.config.rust_randomize_layout {
|
// 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
|
||||||
|
// rustflags.
|
||||||
|
if self.config.rust_randomize_layout && mode != Mode::ToolStd && mode != Mode::ToolRustc {
|
||||||
rustflags.arg("-Zrandomize-layout");
|
rustflags.arg("-Zrandomize-layout");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue