Build rustc
with a single CGU on x64 Linux · rust-lang/rust@1bffa88 (original) (raw)
File tree
1 file changed
lines changed
- src/ci/docker/host-x86_64/dist-x86_64-linux
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -84,7 +84,8 @@ ENV RUST_CONFIGURE_ARGS \ | ||
84 | 84 | --set llvm.ninja=false \ |
85 | 85 | --set rust.jemalloc \ |
86 | 86 | --set rust.use-lld=true \ |
87 | - --set rust.lto=thin | |
87 | + --set rust.lto=thin \ | |
88 | + --set rust.codegen-units=1 | |
88 | 89 | |
89 | 90 | ENV SCRIPT python3 ../x.py build --set rust.debug=true opt-dist && \ |
90 | 91 | ./build/$HOSTS/stage0-tools-bin/opt-dist python3 ../x.py dist \ |