Skip to content
  • Cheng Shao's avatar
    bdd297f9
    testsuite: fix hs_try_putmvar002 for targets without pthread.h · bdd297f9
    Cheng Shao authored
    hs_try_putmvar002 includes pthread.h and doesn't work on targets
    without this header (e.g. wasm32). It doesn't need to include this
    header at all. This was previously unnoticed by wasm CI, though recent
    toolchain upgrade brought in upstream changes that completely removes
    pthread.h in the single-threaded wasm32-wasi sysroot, therefore we
    need to handle that change.
    
    (cherry picked from commit 2ce2a493)
    (cherry picked from commit f581edb0)
    bdd297f9
    testsuite: fix hs_try_putmvar002 for targets without pthread.h
    Cheng Shao authored
    hs_try_putmvar002 includes pthread.h and doesn't work on targets
    without this header (e.g. wasm32). It doesn't need to include this
    header at all. This was previously unnoticed by wasm CI, though recent
    toolchain upgrade brought in upstream changes that completely removes
    pthread.h in the single-threaded wasm32-wasi sysroot, therefore we
    need to handle that change.
    
    (cherry picked from commit 2ce2a493)
    (cherry picked from commit f581edb0)
Loading