There was an error while loading. Please reload this page.
1 parent 0f9f8c9 commit 9b98ac5Copy full SHA for 9b98ac5
1 file changed
build.rs
@@ -212,7 +212,12 @@ fn which_freebsd() -> Option<i32> {
212
}
213
214
fn emcc_version_code() -> Option<u64> {
215
+ #[cfg(target_os = "windows")]
216
+ let output = Command::new("emcc.bat").arg("-dumpversion").output().ok()?;
217
+
218
+ #[cfg(not(target_os = "windows"))]
219
let output = Command::new("emcc").arg("-dumpversion").output().ok()?;
220
221
if !output.status.success() {
222
return None;
223
0 commit comments