diff --git a/CHANGELOG.md b/CHANGELOG.md index 8984484b7..f4e473c5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.5](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.4...cc-v1.2.5) - 2024-12-19 + +### Other + +- Check linking when testing if compiler flags are supported ([#1322](https://github.com/rust-lang/cc-rs/pull/1322)) + ## [1.2.4](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.3...cc-v1.2.4) - 2024-12-13 ### Other diff --git a/Cargo.toml b/Cargo.toml index 118bd27ef..299919ca5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cc" -version = "1.2.4" +version = "1.2.5" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/cc-rs" diff --git a/src/lib.rs b/src/lib.rs index 26fd83bd8..b2d0979e0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -725,9 +725,6 @@ impl Build { }, ); - // Checking for compiler flags does not require linking - cmd.arg("-c"); - cmd.arg(&src); let output = cmd.output()?;