about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2019-10-11 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2019-10-11 22:29:11 +0200
commit5db17335a15e5e290bd7505cc37b2177c86b51c1 (patch)
treea253b09ff4d54e346fab2ccfe4fbf8c967828a38 /src/rustllvm/RustWrapper.cpp
parent000d90b11f7be70ffb7812680f7abc6deb52ec88 (diff)
downloadrust-5db17335a15e5e290bd7505cc37b2177c86b51c1.tar.gz
rust-5db17335a15e5e290bd7505cc37b2177c86b51c1.zip
rustdoc: forward -Z options to rustc
Currently rustdoc does not forward `-Z` options to rustc when building
test executables. This makes impossible to use rustdoc to run test
samples when crate under test is instrumented with one of sanitizers
`-Zsanitizer=...`, since the final linking step will not include
sanitizer runtime library.

Forward `-Z` options to rustc to solve the issue.

Helps with #43031.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions