You could use a Cargo configuration file to specify a default target-triple for your project. In your project’s root, create a .cargo
directory and a config.toml
file in it with the following contents:
[build]
target = "wasm32-unknown-unknown"
You could use a Cargo configuration file to specify a default target-triple for your project. In your project’s root, create a .cargo
directory and a config.toml
file in it with the following contents:
[build]
target = "wasm32-unknown-unknown"