We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
skip
fail
emscripten
1 parent 84726cf commit 586ddf9Copy full SHA for 586ddf9
1 file changed
crates/smoketests/tests/smoketests/csharp_aot_module.rs
@@ -17,11 +17,14 @@ fn test_build_csharp_module_aot() {
17
return;
18
}
19
20
- // Check for emscripten - skip if not available
+ // Check for emscripten - fail with helpful message if not available
21
let emscripten_check = Command::new("emcc").arg("--version").output();
22
if emscripten_check.is_err() || !emscripten_check.unwrap().status.success() {
23
- eprintln!("Skipping AOT test - emscripten not available");
24
- return;
+ panic!(
+ "NativeAOT-LLVM test requires emscripten but it was not found.\n\
25
+ Install from: https://emscripten.org/docs/getting_started/downloads.html\n\
26
+ Or ensure `emcc` is in your PATH."
27
+ );
28
29
30
let workspace = workspace_root();
0 commit comments