We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ca8c2 commit a885236Copy full SHA for a885236
src/lib.rs
@@ -1374,7 +1374,7 @@ impl Build {
1374
// Disable generation of PIC on bare-metal for now: rust-lld doesn't support this yet
1375
if self
1376
.pic
1377
- .unwrap_or(!target.contains("windows-gnu") && !target.contains("-none-"))
+ .unwrap_or(!target.contains("windows") && !target.contains("-none-"))
1378
{
1379
cmd.push_cc_arg("-fPIC".into());
1380
// PLT only applies if code is compiled with PIC support,
0 commit comments