diff options
| author | bors <bors@rust-lang.org> | 2023-04-13 20:34:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-13 20:34:12 +0000 |
| commit | a41fc00eaf352541008965fec0dee811e44373b3 (patch) | |
| tree | 7f07073f579a4c53caa285bcec3052b56c4b194b /src | |
| parent | e4dae0dac76436ada630b519f5fbf0b373bc5974 (diff) | |
| parent | 46c630167218cf4477913892152e5a86ca73d2c4 (diff) | |
| download | rust-a41fc00eaf352541008965fec0dee811e44373b3.tar.gz rust-a41fc00eaf352541008965fec0dee811e44373b3.zip | |
Auto merge of #110295 - matthiaskrgr:rollup-xas29a1, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #109036 (Fix diff option conflict in UI test) - #110193 (Check for body owner fallibly in error reporting) - #110233 (Make rust-intrinsic ABI unwindable) - #110259 (Added diagnostic for pin! macro in addition to Box::pin if Unpin isn't implemented) - #110265 (Automatically update the LLVM submodule for musl target (and other places)) - #110277 (dead-code-lint: de-dup multiple unused assoc functions) - #110283 (Only emit alignment checks if we have a panic_impl) - #110291 (Implement `Copy` for `LocationDetail`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/dist.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/llvm.rs | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 8ce220c8647..94e71b89b5c 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -895,6 +895,8 @@ impl Step for Src { /// Creates the `rust-src` installer component fn run(self, builder: &Builder<'_>) -> GeneratedTarball { + builder.update_submodule(&Path::new("src/llvm-project")); + let tarball = Tarball::new_targetless(builder, "rust-src"); // A lot of tools expect the rust-src component to be entirely in this directory, so if you diff --git a/src/bootstrap/llvm.rs b/src/bootstrap/llvm.rs index d123deec354..a893c3a47c9 100644 --- a/src/bootstrap/llvm.rs +++ b/src/bootstrap/llvm.rs @@ -1087,6 +1087,8 @@ impl Step for CrtBeginEnd { /// Build crtbegin.o/crtend.o for musl target. fn run(self, builder: &Builder<'_>) -> Self::Output { + builder.update_submodule(&Path::new("src/llvm-project")); + let out_dir = builder.native_dir(self.target).join("crt"); if builder.config.dry_run() { @@ -1153,6 +1155,8 @@ impl Step for Libunwind { /// Build linunwind.a fn run(self, builder: &Builder<'_>) -> Self::Output { + builder.update_submodule(&Path::new("src/llvm-project")); + if builder.config.dry_run() { return PathBuf::new(); } |
