Skip to content

Commit

Permalink
Inform rust-analyzer about use of rustc_private
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Sep 25, 2024
1 parent b3b9038 commit 5a5b3e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/sel4-generate-target-specs/Cargo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ mk {
build-dependencies = {
inherit (versions) rustc_version;
};
package.metadata.rust-analyzer = {
rustc_private = true;
};
}
3 changes: 3 additions & 0 deletions crates/sel4-generate-target-specs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ authors = ["Nick Spinale <[email protected]>"]
edition = "2021"
license = "BSD-2-Clause"

[package.metadata.rust-analyzer]
rustc_private = true

[dependencies]
clap = "4.4.6"
serde_json = "1.0.87"
Expand Down

0 comments on commit 5a5b3e0

Please sign in to comment.