Skip to content

Commit

Permalink
Disable reference-types since Wizer doesn't support them (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles authored Oct 17, 2024
1 parent 89afb6c commit 5a1f1c0
Showing 1 changed file with 8 additions and 1 deletion.
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

0 comments on commit 5a1f1c0

Please sign in to comment.