@@ -2566,7 +2566,8 @@ fn test_emscripten(target: &str) {
2566
2566
// FIXME: The size has been changed when upgraded to musl 1.2.2
2567
2567
"pthread_mutex_t" => true ,
2568
2568
2569
- // FIXME: The size has been changed
2569
+ // FIXME: Lowered from 16 to 8 bytes in
2570
+ // llvm/llvm-project@d1a96e9
2570
2571
"max_align_t" => true ,
2571
2572
2572
2573
// FIXME: The size has been changed due to time64
@@ -2579,20 +2580,13 @@ fn test_emscripten(target: &str) {
2579
2580
2580
2581
cfg. skip_fn ( move |name| {
2581
2582
match name {
2582
- // FIXME: https://github.com/rust-lang/libc/issues/1272
2583
- "execv" | "execve" | "execvp" | "execvpe" | "fexecve" => true ,
2583
+ // Emscripten does not support fork/exec/wait or any kind of multi-process support
2584
+ // https://github.com/emscripten-core/emscripten/blob/3.1.30/tools/system_libs.py#L973
2585
+ "execv" | "execve" | "execvp" | "execvpe" | "fexecve" | "wait4" => true ,
2584
2586
2585
- // FIXME: Investigate why CI is missing it .
2587
+ // FIXME: Remove after emscripten-core/emscripten#18492 is released (> 3.1.30) .
2586
2588
"clearenv" => true ,
2587
2589
2588
- // FIXME: Somehow the ctest cannot find it on emscripten:
2589
- // = note: error: undefined symbol: wait4 (referenced by top-level compiled C/C++ code)
2590
- // warning: Link with `-sLLD_REPORT_UNDEFINED` to get more information on undefined symbols
2591
- // warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0`
2592
- // warning: _wait4 may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
2593
- // Error: Aborting compilation due to previous errors
2594
- "wait4" => true ,
2595
-
2596
2590
_ => false ,
2597
2591
}
2598
2592
} ) ;
0 commit comments