We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faccc07 commit b23b81aCopy full SHA for b23b81a
Cargo.toml
@@ -15,4 +15,4 @@ categories = ["development-tools::build-utils"]
15
edition = "2021"
16
17
[dependencies]
18
-cc = "1.0.83"
+cc = "1.1.0"
src/lib.rs
@@ -437,13 +437,7 @@ impl Config {
437
pub fn build(&mut self) -> PathBuf {
438
let target = match self.target.clone() {
439
Some(t) => t,
440
- None => {
441
- let mut t = getenv_unwrap("TARGET");
442
- if t.ends_with("-darwin") && self.uses_cxx11 {
443
- t += "11"
444
- }
445
- t
446
+ None => getenv_unwrap("TARGET"),
447
};
448
let host = self.host.clone().unwrap_or_else(|| getenv_unwrap("HOST"));
449
0 commit comments