Browse Source

Don't pass the -mwin32 flag by default on Windows

It ended up causing some problems (described in #51) and seems like a bit of an
odd default for us to be passing.

Closes #51
add-rc-path
Alex Crichton 10 years ago
parent
commit
bde8cc1791
  1. 4
      src/lib.rs

4
src/lib.rs

@ -333,10 +333,6 @@ impl Config {
if self.target.contains("-ios") {
self.ios_flags(&mut cmd);
} else if !msvc {
if self.target.contains("windows") {
cmd.arg("-mwin32");
}
if self.target.contains("i686") {
cmd.arg("-m32");
} else if self.target.contains("x86_64") {

Loading…
Cancel
Save