IRC channel logs
2024-02-02.log
back to list of logs
<encryptedwhisper>I have managed to get my one-way chat app working properly, with a much more tamed event loop <encryptedwhisper>What does this mean? "CompileError: wasm validation error: at offset 12: gc types not enabled" - in firefox <encryptedwhisper>Do I need to enable a flag in about:config, or is it perhaps a Gentoo build flag I've missed? <encryptedwhisper>oh I'm silly. " Starting with Firefox 120 and Chrome 119, GC is enabled by default. " <dthompson>encryptedwhisper: check about:config and search "wasm". javascript.options.wasm_gc and javascript.options.wasm_tail_calls should be enabled <dthompson>as of firefox 121 these are both on by default <dthompson>any wasm options at all? looks like you are using a special build of firefox with some features disabled or something <dthompson>the option should appear whether you've customized it or not <encryptedwhisper>I do see wasm options just not the gc version. And yeah I'm on gentoo so I've built it manually - let me see if I can get 121 built. <encryptedwhisper>or wait I have 122, lol i'm bad at numbers. Yeah maybe it's an option Gentoo hasn't packaged yet :3 <dthompson>I don't know much about how firefox is actually built to know what might be missing to cause wasm gc to be unavailable <dthompson>maybe gentoo's chrom(e|ium) build will just work? <encryptedwhisper>going to try to track down why this is the case and see if I can patch it... <bremner>slightly OT, is wasm-gc supported outside chromium yet? <encryptedwhisper>Okay so after digging, it looks like --disable-wasm-gc is just there as of 120 and below - which mirrors how it used to be disabled by default. They probably just don't know it's no longer disabled by default <dthompson>encryptedwhisper: ah nice find. good luck with a fresh build! <bremner>hmm. fwiw firefox 121 on debian has wasm_gc and wasm_tail_calls enabled <dthompson>gentoo is passing a flag to disable it in their build, as discovered by encryptedwhisper <encryptedwhisper>they aren't making a new rev for it so my understanding is that it will only make it into whatever the next version is, but i'm okay with that.