File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,19 @@ std-features = ["panic-unwind"]
4949EOF
5050
5151cat << EOF | git apply -
52+ diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
53+ index 2e16f2cf27..3ac3df99a8 100644
54+ --- a/src/bootstrap/bootstrap.py
55+ +++ b/src/bootstrap/bootstrap.py
56+ @@ -1147,6 +1147,8 @@ class RustBuild(object):
57+ args += ["-Zwarnings"]
58+ env["CARGO_BUILD_WARNINGS"] = "deny"
59+
60+ + env["RUSTFLAGS"] += " -Zbinary-dep-depinfo"
61+ +
62+ # Add RUSTFLAGS_BOOTSTRAP to RUSTFLAGS for bootstrap compilation.
63+ # Note that RUSTFLAGS_BOOTSTRAP should always be added to the end of
64+ # RUSTFLAGS, since that causes RUSTFLAGS_BOOTSTRAP to override RUSTFLAGS.
5265diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
5366index a656927b1f6..44fc5546fac 100644
5467--- a/src/bootstrap/src/core/config/config.rs
You can’t perform that action at this time.
0 commit comments