diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index 385376333c1..0bba68545c5 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -563,7 +563,9 @@ fn find_tests(dir: &Path, let filename = e.file_name().into_string().unwrap(); if (target.contains("windows") && filename.ends_with(".exe")) || (!target.contains("windows") && !filename.contains(".")) || - (target.contains("emscripten") && filename.ends_with(".js")) { + (target.contains("emscripten") && + filename.ends_with(".js") && + !filename.ends_with(".asm.js")) { dst.push(e.path()); } }