We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0542060 commit 2f7cc33Copy full SHA for 2f7cc33
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
@@ -440,13 +440,7 @@ impl Config {
440
pub fn build(&mut self) -> PathBuf {
441
let target = match self.target.clone() {
442
Some(t) => t,
443
- None => {
444
- let mut t = getenv_unwrap("TARGET");
445
- if t.ends_with("-darwin") && self.uses_cxx11 {
446
- t += "11"
447
- }
448
- t
449
+ None => getenv_unwrap("TARGET"),
450
};
451
let host = self.host.clone().unwrap_or_else(|| getenv_unwrap("HOST"));
452
0 commit comments