Support compiling demos in wasm build #17

Open
mmcomando wants to merge 6 commits from wasm_demos into master
Showing only changes of commit 55bd698541 - Show all commits

View file

@ -1,4 +1,4 @@
module mmutils.thread_pool;
module mmutils.thread_pool;
import std.algorithm : map;
@ -9,7 +9,9 @@ version (WebAssembly)
{
version = MM_NO_LOGS;
version = MM_USE_POSIX_THREADS;
struct FILE;
extern(C) struct FILE
{
}
}
else
{
@ -1825,4 +1827,4 @@ else
// -fsanitize=address
// rdmd -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
// ldmd2 -release -inline -checkaction=C -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
// ldmd2 -checkaction=C -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
// ldmd2 -checkaction=C -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool