We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3892e49 commit 10e2bfbCopy full SHA for 10e2bfb
build.rs
@@ -241,7 +241,13 @@ fn which_freebsd() -> Option<i32> {
241
}
242
243
fn emcc_version_code() -> Option<u64> {
244
- let output = Command::new("emcc").arg("-dumpversion").output().ok()?;
+ let emcc = if cfg!(target_os = "windows") {
245
+ "emcc.bat"
246
+ } else {
247
+ "emcc"
248
+ };
249
+
250
+ let output = Command::new(emcc).arg("-dumpversion").output().ok()?;
251
if !output.status.success() {
252
return None;
253
0 commit comments