Skip to content

Commit 7a60181

Browse files
authored
Hint "rust-analyzer.rustcSource": "discover" next to rustc_private = true. (#825)
1 parent da7c3ed commit 7a60181

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/rustc_codegen_spirv/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ pipe = "0.4"
5151
pretty_assertions = "1.0"
5252
tempfile = "3.2"
5353

54+
# Note that in order to use RA and have access to `rustc_*` crates, you also
55+
# need to set `"rust-analyzer.rustcSource": "discover"` in e.g. VSCode.
5456
[package.metadata.rust-analyzer]
5557
# This crate uses #[feature(rustc_private)]
5658
rustc_private = true

0 commit comments

Comments
 (0)