bytecodealliance / javy

JS to WebAssembly toolchain
Apache License 2.0
2.29k stars 110 forks source link

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

Closed jeffcharles closed 1 month ago

jeffcharles commented 1 month ago

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