Skip to content

Commit 60f54ee

Browse files
committed
chore: add config.toml to set vscode to use wasm
1 parent ccabdb8 commit 60f54ee

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
# target = "wasm32-unknown-unknown"

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"rust-analyzer.showUnlinkedFileNotification": false,
33
"cSpell.words": [
44
"jsvalue"
5-
],
5+
]
66
// "code-runner.customCommand": "wasm-pack test --headless --firefox",
7-
"rust-analyzer.cargo.target": "wasm32-unknown-unknown" // Uncomment to use rust-analyzer on wasm code instead
7+
// "rust-analyzer.cargo.target": "wasm32-unknown-unknown" // Uncomment to use rust-analyzer on wasm code instead
88
}

0 commit comments

Comments
 (0)