Build rustc with a single CGU on x64 Linux

This commit is contained in:
Jakub Beránek 2023-02-04 00:04:22 +01:00
parent 42faef503f
commit ca59652866
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B

View File

@ -84,7 +84,8 @@ ENV RUST_CONFIGURE_ARGS \
--set llvm.ninja=false \
--set rust.jemalloc \
--set rust.use-lld=true \
--set rust.lto=thin
--set rust.lto=thin \
--set rust.codegen-units=1
ENV SCRIPT python3 ../x.py build --set rust.debug=true opt-dist && \
./build/$HOSTS/stage0-tools-bin/opt-dist linux-ci -- python3 ../x.py dist \