Sam Clegg

Results 1132 comments of Sam Clegg

What you are describing is more like coroutines or fibres. You can indeed achieve something like that using asyncify, but it not really a true pthread replacement as there is...

Under wasmtime ELOOP is being returned by the lstat on line 58,

Do we care about the size of the SDK downloads? How much?

I think I've found the solution for installing just the parts we want without a huge whitelist: `LLVM_INSTALL_TOOLCHAIN_ONLY`. This should give us exactly what need I hope. Looks like we...

@pchickey I think maybe you misunderstood what I'm suggesting. I'm not suggesting we stop shipping llvm/clang or stop building it, I'm suggesting that we maybe just ship the parts that...

I think that this can be made to work without installing into the system location. We already include both `wasi.cmake` and `cmake/Platform/WASI.cmake` in this repo, so I think it just...

(I'm not sure what the exact answer is.. but the existence of `cmake/Platform/WASI.cmake` is good hint)

Looks like its `CMAKE_MODULE_PATH`. Looking at the emscripten cmake plugin it looks like the toolchain file injects: https://github.com/emscripten-core/emscripten/blob/3c0587f94c2b9b0e29ea6a4054a1b8ea9a148f9d/cmake/Modules/Platform/Emscripten.cmake#L77 I wonder if that is pattern we can/should copy?

I think it will look for `Platform/WASI.cmake` in `CMAKE_MODULLE_PATH` so adding wasi-sdk/cmake to `CMAKE_MODULE_PATH` should do it.

Can you see if this fixes it: #182