diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2019-10-17 07:04:39 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-10-21 13:05:31 -0700 |
| commit | c7d285b78136a5bccf8419afa4c57428b83b8bec (patch) | |
| tree | ea9dc74dfb84b52255887109e4e08c47382db691 /src/bootstrap/bootstrap.py | |
| parent | b7a9c285a50f3a94c44687ba9ff3ab0648243aaa (diff) | |
Remove `src/llvm-emscripten` submodule
With #65251 landed there's no need to build two LLVM backends and ship them with rustc, every target we have now uses the same LLVM backend! This removes the `src/llvm-emscripten` submodule and additionally removes all support from rustbuild for building the emscripten LLVM backend. Multiple codegen backend support is left in place for now, and this is intended to be an easy 10-15 minute win on CI times by avoiding having to build LLVM twice.
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 65129eeeec5..4caf36a6f2a 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -734,10 +734,6 @@ class RustBuild(object): if module.endswith("llvm-project"): if self.get_toml('llvm-config') and self.get_toml('lld') != 'true': continue - if module.endswith("llvm-emscripten"): - backends = self.get_toml('codegen-backends') - if backends is None or not 'emscripten' in backends: - continue check = self.check_submodule(module, slow_submodules) filtered_submodules.append((module, check)) submodules_names.append(module) |
