Skip to content

Commit

Permalink
Migrate cargo config to config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
stefnotch committed Mar 9, 2024
1 parent 79ad98d commit 567e232
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build]
rustflags = [
"--cfg=web_sys_unstable_apis",
]
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
//"rust-analyzer.cargo.target": "wasm32-unknown-unknown"
}
"rust-analyzer.runnableEnv": {
"RUSTFLAGS": "--cfg=web_sys_unstable_apis"
}
}

0 comments on commit 567e232

Please sign in to comment.