enable layout randomization in x86_64-gnu-llvm-17 CI job

This commit is contained in:
The 8472 2022-09-02 22:44:39 +02:00
parent e3169f76e6
commit 1e377c5b9f

View File

@ -50,6 +50,7 @@ ENV RUST_CONFIGURE_ARGS \
--build=x86_64-unknown-linux-gnu \ --build=x86_64-unknown-linux-gnu \
--llvm-root=/usr/lib/llvm-17 \ --llvm-root=/usr/lib/llvm-17 \
--enable-llvm-link-shared \ --enable-llvm-link-shared \
--set rust.randomize-layout=true \
--set rust.thin-lto-import-instr-limit=10 --set rust.thin-lto-import-instr-limit=10
COPY host-x86_64/dist-x86_64-linux/shared.sh /scripts/ COPY host-x86_64/dist-x86_64-linux/shared.sh /scripts/