Oliver Kowalke
Oliver Kowalke
maybe this is an issue for boost.build because boost.context does not handle assembler arguments directly (abstracted away by boost.build)
no - it isn't
I'm not familiar with webassembly... boost.context does use the calling convention and does some tricks like swapping stacks. I don't know if this is applicable to webassembly.
Supporitng WebAssembly requires patching LLVM and Emscripten - I think this hughe amount of work is only justified if fcontext's std-equivalent in [P0876R10](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0876r10.pdf) has been accepted.
you are welcome to provide a patch
I think this is not possible.
I think it is not possible to implement support for WebAssembly.
boost.context accesses/uses the registers of the CPU while webassembly is bytecode running in a virtual machine - therefore your request makes no sense.
I'll take a look at it.
emscripten fiber seams not to be used - at least Google couldn't find examples/usage of emscripten fibers.