We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--cfg windows_raw_dylib
1 parent 91a0e16 commit ec3cde2Copy full SHA for ec3cde2
src/bootstrap/src/core/builder/cargo.rs
@@ -597,7 +597,7 @@ impl Builder<'_> {
597
// sysroot. Passing this cfg enables raw-dylib support instead, which makes the native
598
// library unnecessary. This can be removed when windows-rs enables raw-dylib
599
// unconditionally.
600
- if let Mode::Rustc | Mode::ToolRustc = mode {
+ if let Mode::Rustc | Mode::ToolRustc | Mode::ToolBootstrap = mode {
601
rustflags.arg("--cfg=windows_raw_dylib");
602
}
603
0 commit comments