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

Disable reference-types since Wizer doesn't support them #785

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

jeffcharles
Copy link
Collaborator

Description of the change

Disabling reference types when compiling javy-core.

Why am I making this change?

The latest Rust stable compiler has started to emit instructions which rely on reference types support. Wizer (as of Wizer 7.0.0) does not support reference types. This causes the build for Javy CLI to fail when Wizer is executed on javy-core.

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.

Copy link
Member

@saulecabrera saulecabrera left a comment

Choose a reason for hiding this comment

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

I was curious to know more about the concrete details of the change, for posterity and completeness here's a deeper explanation of of the inner workings of this change: WebAssembly/tool-conventions#233

@jeffcharles jeffcharles merged commit 5a1f1c0 into main Oct 17, 2024
7 checks passed
@jeffcharles jeffcharles deleted the jc.disable-reference-types-when-compiling branch October 17, 2024 21:27
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.

2 participants