Skip to content
Snippets Groups Projects
Commit 2ce2a493 authored by Cheng Shao's avatar Cheng Shao Committed by Marge Bot
Browse files

testsuite: fix hs_try_putmvar002 for targets without pthread.h

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.
parent bd5a1f91
No related branches found
No related tags found
No related merge requests found
#include "HsFFI.h"
#include <unistd.h>
#include <pthread.h>
#include "hs_try_putmvar002_stub.h"
void externalPutMVar(HsStablePtr mvar, HsInt cap)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment