I compiled rustc to a wasm module using wasi. I am currently trying to make a new wasi polyfill in pure javascript. I noticed that every time I refresh the page in firefox the memory usage increases by 200MB. Only closing the tab releases this memory again after forcing a GC. Can somebody report a bug for me? I don't have a bugzilla account.
@bjorn3 can you use your Github account to log in with Bugzilla? It's likely people looking at your bug will ask for more information, etc. so you have better chances to see it resolved if you can answer directly
(Great job compiling rustc to wasm, btw!)
I didn't know you could login using github.
I used cg_clif as codegen backend for rustc. I was then able to run it in wasmtime.
It is Cranelift's all the way to the bottom :)
What is the maximum size for attachments? Can I attach the 49MB rustc_binary.wasm file?
Also does it support markdown in the description?
Markdown indeed is supported; max size i don't know, do you have a web server where to host it? or github pages?
I don't have a web server. I can try if github pages allows it.
Might be worth trying gzip or xz; I don't know how compressible wasm bytecode is but it has to be better than nothing
(If you have to attach it in Bugzilla I mean)
gzip: 49MB -> 11MB
I can't attach both the wasm file and the memory report when filing the report. Can I attach either after the fact?
You should be able to, yes
This file (10.5 MB) is larger than the maximum allowed size (10.0 MB). Please consider uploading it to an online file storage and sharing the link in a bug comment instead.
The rustc_binary.wasm file is just a bit too big.
xz
or bzip2
?
xz
worked. Just 6MB.
https://bugzilla.mozilla.org/show_bug.cgi?id=1656549
bugzilla choose my user name based on my email address. Can I change it somewhere?
ah, has to fill in realname
it still leaks my email address though
Last updated: Dec 23 2024 at 12:05 UTC