mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
exclude tools with deps that have size asserts
This commit is contained in:
parent
df20808f4d
commit
c218c75456
@ -1614,7 +1614,12 @@ impl<'a> Builder<'a> {
|
||||
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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user