about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-05-29 02:26:19 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-06-21 22:55:43 -0500
commit9cde0f7877bda27e13da269ff7e6171831c84ec1 (patch)
treeff17fcd31c24bf799b3cecba442ec3418c3bea92 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parenta09c668c965f735f4cd59e7158662b9daa0b71ba (diff)
downloadrust-9cde0f7877bda27e13da269ff7e6171831c84ec1.tar.gz
rust-9cde0f7877bda27e13da269ff7e6171831c84ec1.zip
Fully remove submodule handling from bootstrap.py
These submodules were previously updated in python because Cargo gives a hard error if toml files
are missing from the workspace:

```
error: failed to load manifest for workspace member `/home/jnelson/rust-lang/rust/src/tools/rls`

Caused by:
  failed to read `/home/jnelson/rust-lang/rust/src/tools/rls/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
failed to run: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /home/jnelson/rust-lang/rust/src/bootstrap/Cargo.toml
```

However, bootstrap doesn't actually need to be part of the workspace.
Remove it so we can move submodule handling fully to Rust, avoiding duplicate code between Rust and Python.

Note that this does break `cargo run`; it has to be `cd src/bootstrap && cargo run` now.
Given that we're planning to make the main entrypoint a shell script (or rust binary),
I think this is a good tradeoff for reduced complexity in bootstrap.py.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions