diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-05 03:47:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-05 03:47:39 +0200 |
| commit | 8a60d0a5ec0d0a1a88ae17ed4f19f61c7f78ef9d (patch) | |
| tree | ce5469ab730d200a826329ba01ec1b4b4f1afe3b /src/ci/docker | |
| parent | 009e73825af0e59ad4fc603562e038b3dbd6593a (diff) | |
| parent | c218c754568351e44a8c8f07702c090c6c2ae945 (diff) | |
| download | rust-8a60d0a5ec0d0a1a88ae17ed4f19f61c7f78ef9d.tar.gz rust-8a60d0a5ec0d0a1a88ae17ed4f19f61c7f78ef9d.zip | |
Rollup merge of #101339 - the8472:ci-randomize-debug, r=Mark-Simulacrum
enable -Zrandomize-layout in debug CI builds This builds rustc/libs/tools with `-Zrandomize-layout` on *-debug CI runners. Only a handful of tests and asserts break with that enabled, which is promising. One test was fixable, the rest is dealt with by disabling them through new cargo features or compiletest directives. The config.toml flag `rust.randomize-layout` defaults to false, so it has to be explicitly enabled for now.
Diffstat (limited to 'src/ci/docker')
| -rw-r--r-- | src/ci/docker/host-x86_64/x86_64-gnu-llvm-17/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/x86_64-gnu-llvm-17/Dockerfile b/src/ci/docker/host-x86_64/x86_64-gnu-llvm-17/Dockerfile index 275acb47c33..3acc2ceb135 100644 --- a/src/ci/docker/host-x86_64/x86_64-gnu-llvm-17/Dockerfile +++ b/src/ci/docker/host-x86_64/x86_64-gnu-llvm-17/Dockerfile @@ -50,6 +50,7 @@ ENV RUST_CONFIGURE_ARGS \ --build=x86_64-unknown-linux-gnu \ --llvm-root=/usr/lib/llvm-17 \ --enable-llvm-link-shared \ + --set rust.randomize-layout=true \ --set rust.thin-lto-import-instr-limit=10 COPY host-x86_64/dist-x86_64-linux/shared.sh /scripts/ |
