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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
# Cargo doesn't read directives in individual crates when invoking build
# commands from the workspace root, hence adding it at the workspace root.
# https://doc.rust-lang.org/cargo/reference/config.html
# Disable reference-types since Wizer (as of version 7.0.0) does not support
# reference-types.
[target.wasm32-wasi]
rustflags = ["-C", "target-feature=+simd128"]
rustflags = [
"-C",
"target-feature=+simd128",
"-C",
"target-feature=-reference-types",
]

# We want to ensure that all the MSVC dependencies are statically resolved and
# included in the final CLI binary.
Expand Down
Loading