diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-04 08:33:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-04 08:33:21 +0100 |
| commit | 1f32203fd37774f6df7316a17382cbf387186af9 (patch) | |
| tree | e15019b3899e81f0c1048d44af97e4197f890541 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 139fb2214675fed8143a12f6287a3a1e6e2e866d (diff) | |
| parent | bc3b7c9930d3500d69a39c2a34d7ef63c403d74d (diff) | |
| download | rust-1f32203fd37774f6df7316a17382cbf387186af9.tar.gz rust-1f32203fd37774f6df7316a17382cbf387186af9.zip | |
Rollup merge of #118521 - dpaoliello:asan, r=wesleywiser
Enable address sanitizer for MSVC targets using INFERASANLIBS linker flag This enables address sanitizer for x86_64-pc-windows-msvc and i686-pc-windows-msvc targets when linked with the MSVC linker (link.exe) by leveraging the `/INFERASANLIBS` option to automatically find and link in Microsoft's address sanitizer runtime: <https://learn.microsoft.com/en-us/cpp/sanitizers/asan-runtime?view=msvc-170> Implements https://github.com/rust-lang/compiler-team/issues/702 Fixes #89339 (for MSVC targets using the MSVC linker only) Supercedes #89369 Successful x86_64-msvc build showing the sanitizer tests working: https://github.com/rust-lang/rust/actions/runs/7228346880/job/19697628258?pr=118521
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
