From 17ce9302a2743747e5b5f0a92d10d14bc1f8e347 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Jan 2024 19:52:58 +0000 Subject: [PATCH] Add `zcash_unstable` to `RUSTFLAGS` for VS Code Necessary for the `--all-features` to work, allowing all code to be compiled by `rust-analyzer`. --- .vscode/settings.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 7b2b22c3a..7b7fe97d4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,6 @@ { + "rust-analyzer.cargo.extraEnv": { + "RUSTFLAGS": "--cfg zcash_unstable=\"orchard\"" + }, "rust-analyzer.cargo.features": "all" } \ No newline at end of file