settings.json
This commit is contained in:
parent
ceaa265c72
commit
2962102962
12
.vscode/settings.json
vendored
Normal file
12
.vscode/settings.json
vendored
Normal file
|
@ -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
test_files/components/rust_decoder/.vscode/settings.json
vendored
Normal file
10
test_files/components/rust_decoder/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"rust-analyzer.check.overrideCommand": [
|
||||
"cargo",
|
||||
"component",
|
||||
"check",
|
||||
"--workspace",
|
||||
"--all-targets",
|
||||
"--message-format=json"
|
||||
],
|
||||
}
|
Loading…
Reference in a new issue