Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
settings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKavik committed Sep 14, 2024
1 parent ceaa265 commit 2962102
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"rust-analyzer.cargo.cfgs": {
"FASTWAVE_PLATFORM": "TAURI",
// "FASTWAVE_PLATFORM": "BROWSER",
},
// https://github.com/rustwasm/wasm-bindgen/issues/2339#issuecomment-2147636233
"rust-analyzer.cargo.extraEnv": {
"RUSTFLAGS": "--cfg=web_sys_unstable_apis"
},
// to prevent rebuilding from scratch on each change
"rust-analyzer.cargo.target": "wasm32-unknown-unknown"
}
10 changes: 10 additions & 0 deletions test_files/components/rust_decoder/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"rust-analyzer.check.overrideCommand": [
"cargo",
"component",
"check",
"--workspace",
"--all-targets",
"--message-format=json"
],
}

0 comments on commit 2962102

Please sign in to comment.