Skip to content

Commit d1a7b8e

Browse files
committed
Check for the right compiler we're testing
1 parent 7544605 commit d1a7b8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cc"
3-
version = "1.0.51"
3+
version = "1.0.52"
44
authors = ["Alex Crichton <[email protected]>"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/alexcrichton/cc-rs"

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ impl Build {
19911991
if Command::new(&gnu_compiler).output().is_ok() {
19921992
gnu_compiler
19931993
} else if host.contains("windows")
1994-
&& Command::new(&clang_compiler).output().is_ok()
1994+
&& Command::new(&clang_compiler_cmd).output().is_ok()
19951995
{
19961996
clang_compiler_cmd
19971997
} else {

0 commit comments

Comments
 (0)