Skip to content
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

Use the v2 provider to compile #777

Merged

Conversation

saulecabrera
Copy link
Member

Closes #766

This commit ensures that the soon-to-be-deprecated compile command makes use of the right (v2) provider for compilation. Not ensuring this has the potential to cause issues upon a new release of QuickJS containing bytecode incompatibilities.

Checklist

  • I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli and javy-core do not require updating CHANGELOG files.
  • I've updated the relevant crate versions if necessary. Versioning policy for library crates
  • I've updated documentation including crate documentation if necessary.

Closes bytecodealliance#766

This commit ensures that the soon-to-be-deprecated `compile` command
makes use of the right (v2) provider for compilation. Not ensuring this
has the potential to cause issues upon a new release of QuickJS
containing bytecode incompatibilities.
Copy link
Collaborator

@jeffcharles jeffcharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left the one comment and otherwise LGTM

crates/cli/src/bytecode.rs Outdated Show resolved Hide resolved
@saulecabrera saulecabrera enabled auto-merge (squash) October 7, 2024 20:49
@saulecabrera saulecabrera merged commit ef1e806 into bytecodealliance:main Oct 7, 2024
7 checks passed
@saulecabrera saulecabrera deleted the fix-compile-command-provider branch October 7, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

javy compile should use javy_quickjs_provider_v2
2 participants