Stephen Paul Weber (Work)
Stephen Paul Weber (Work)
> are they not available by default and you don't want to tackle implementing them? Correct. I'm in a non-browser WASM environment. Thanks for the pointers! I expect we can...
Trying to look into this using `cargo build -Z config-profile --target wasm32-unknown-unknown -p artichoke-wasm` I get: ``` Compiling onig_sys v69.1.0 (https://github.com/artichoke/rust-onig?branch=wasm#d1346f44) Compiling rand v0.6.5 Compiling mruby-sys v2.0.1-12 (/home/singpolyma/src/artichoke/mruby-sys) error: failed...
So, if I use `CFLAGS="/path/to/some/musl/headers"` then I get past this, and then get ` error: WebAssembly hasn't implemented computed gotos` -- getting around this requires and oniguruma change: ```diff diff...
So, I see these `wasm_build_config.rb` etc files... but nothing seems to use them. Is the idea to edit `build.rs` to reference whichever one you are using right now?
Ok, I pulled latest master and got the new way of doing the `wasm32-unknown-emscripten` build running. After than I tried again: CFLAGS="-I$(pwd)/libc" cargo build --target wasm32-unknown-unknown and... it completed! But...
`target/wasm32-unknown-unknown/debug/libmruby_sys.rlib` exists and seems to contain the things I would expect from mruby (`class.o`, `vm.o` etc) but the `target/wasm32-unknown-unknown/debug/airb.wasm` file has the above block of imports as though none of...
That's the AOT mode? When I enable that it takes a *looong* time and then says "unable to open compiled code"
I haven't tested this specific case in awhile, but in general we have had much more luck with AOT (though you can't run it under many Docker setups because of...
@bblimke I'd like to. I worked on this a bit just now, but I think the test server for testing "real" requests might not support http/2, which make re-using the...
@ixti fixed