f7287b9a2c
this was a pre-existing latent bug, we just didn't have any CI builders exercising it. fixes the following errors: ``` ---- [ui] tests/ui/sanitize/new-llvm-pass-manager-thin-lto.rs#opt1 stdout ---- error in revision `opt1`: test compilation failed although it shouldn't! status: exit status: 1 command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/sanitize/new-llvm-pass-manager-thin-lto.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=i686-unknown-linux-gnu" "--cfg" "opt1" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--remap-path-prefix=/checkout/tests/ui=fake-test-src-base" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/sanitize/new-llvm-pass-manager-thin-lto.opt1/a" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/i686-unknown-linux-gnu/native/rust-test-helpers" "-Clinker=x86_64-linux-gnu-gcc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/sanitize/new-llvm-pass-manager-thin-lto.opt1/auxiliary" "-Zsanitizer=address" "-Clto=thin" "-Copt-level=1" --- stderr ------------------------------- error: linking with `x86_64-linux-gnu-gcc` failed: exit status: 1 = note: x86_64-linux-gnu-gcc: error: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/i686-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a: No such file or directory failures: [ui] tests/ui/sanitize/badfree.rs [ui] tests/ui/sanitize/address.rs [ui] tests/ui/sanitize/use-after-scope.rs [ui] tests/ui/sanitize/new-llvm-pass-manager-thin-lto.rs#opt0 [ui] tests/ui/sanitize/new-llvm-pass-manager-thin-lto.rs#opt1 ``` |
||
---|---|---|
.. | ||
address.rs | ||
badfree.rs | ||
cfg-kasan.rs | ||
cfg.rs | ||
crt-static.rs | ||
crt-static.stderr | ||
hwaddress.rs | ||
incompatible.rs | ||
incompatible.stderr | ||
inline-always.rs | ||
inline-always.stderr | ||
issue-72154-lifetime-markers.rs | ||
issue-111184-generator-witness.rs | ||
leak.rs | ||
memory-eager.rs | ||
memory-passing.rs | ||
memory.rs | ||
new-llvm-pass-manager-thin-lto.rs | ||
sanitizer-cfi-canonical-jump-tables-require-cfi.rs | ||
sanitizer-cfi-canonical-jump-tables-require-cfi.stderr | ||
sanitizer-cfi-generalize-pointers-attr-cfg.rs | ||
sanitizer-cfi-generalize-pointers-require-cfi.rs | ||
sanitizer-cfi-generalize-pointers-require-cfi.stderr | ||
sanitizer-cfi-invalid-attr-cfi-encoding.rs | ||
sanitizer-cfi-invalid-attr-cfi-encoding.stderr | ||
sanitizer-cfi-is-incompatible-with-saniziter-kcfi.aarch64.stderr | ||
sanitizer-cfi-is-incompatible-with-saniziter-kcfi.rs | ||
sanitizer-cfi-is-incompatible-with-saniziter-kcfi.x86_64.stderr | ||
sanitizer-cfi-normalize-integers-attr-cfg.rs | ||
sanitizer-cfi-normalize-integers-require-cfi.rs | ||
sanitizer-cfi-normalize-integers-require-cfi.stderr | ||
sanitizer-cfi-requires-lto.rs | ||
sanitizer-cfi-requires-lto.stderr | ||
split-lto-unit-requires-lto.rs | ||
split-lto-unit-requires-lto.stderr | ||
thread.rs | ||
unsupported-target.rs | ||
unsupported-target.stderr | ||
use-after-scope.rs |