File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ fn main() {
120
120
121
121
let compile_target_arch = env:: var ( "CARGO_CFG_TARGET_ARCH" ) . expect ( "CARGO_CFG_TARGET_ARCH" ) ;
122
122
let compile_target_os = env:: var ( "CARGO_CFG_TARGET_OS" ) . expect ( "CARGO_CFG_TARGET_OS" ) ;
123
- let compile_target_env = env:: var ( "CARGO_CFG_TARGET_ENV" ) . expect ( "CARGO_CFG_TARGET_ENV" ) ;
124
123
let compile_target_feature = env:: var ( "CARGO_CFG_TARGET_FEATURE" ) ;
125
124
// Except for Emscripten target (which emulates POSIX environment), compile to Wasm via WASI SDK
126
125
// which is currently the only standalone provider of stdlib for compilation of C/C++ libraries.
@@ -174,8 +173,6 @@ fn main() {
174
173
println ! ( "cargo:rustc-link-lib=c" ) ;
175
174
build. file ( "./deps/wasi_to_unknown.cpp" ) ;
176
175
}
177
- } else if !( compile_target_os == "windows" && compile_target_env == "msvc" ) {
178
- build. compiler ( "clang++" ) ;
179
176
}
180
177
181
178
let compiler = build. get_compiler ( ) ;
You can’t perform that action at this time.
0 commit comments