-
-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved to a workspace architecture #247
Conversation
Was this PR supposed to address #140 too? |
Looks like |
I take that back. We can manually specify the crate to wasmify in the webpack plugin config and change the outdir. Reference: https://github.com/wasm-tool/wasm-pack-plugin. The |
Actually, not, but let's do that too!
I will check that asap and update the PR :) thanks for the pointer! |
The build error is due to the binary being run in the benchmarks by default (where criterion is not available). This can be solved by passing This should probably be added to the benchmarks GitHub action too, and it should be generic enough to accept an input "package" parameter. |
Seems ok from what i can see. cargo bench -p Boa -- --save-baseline changes doesn't seem to be working :/ |
Checking at the output of the action run, it seems that the change is not being run, it's still running It's like it had some cache for the action. I'm guessing that versioning it should help. I will add the commit hash, to check it just in case. |
It seems it doesn't work. It's using the minified version in |
That makes sense, I’ll try it again when I have time |
built and updated action |
seems to be weirdly cached, im going to try referencing the commit |
Looks like we've finally fixed it @Razican |
Cool! we can merge then. Still, it's weird it gets cached. We can maybe try switching to the master branch in the future :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok lets do this, it looks fine to me
This fixes #239, and superseeds #241.
I also took the opportunity to generate the
Cargo.lock
file with the new Rust 1.41+ format, and add a couple of build profiles. Everything seems to be working fine, except for the wasm feature.When building it like that, I seem to be getting a
./pkg/
directory, with an emptyindex.js
file. This./pkg/
directory seems not to be ignored by gitignore. Do you know how this works? I'm not familiarized with Rust-wasm setups.