Skip to content

Commit

Permalink
Rust Analyzer added NixOS supported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
rickvanprim committed Mar 19, 2024
1 parent 846e910 commit ad10065
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tools/rust_analyzer/3rdparty/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,24 @@ crates_vendor(
# https://github.com/bazelbuild/rules_rust/issues/1120
repository_name = "rrra",
supported_platform_triples = [
"i686-apple-darwin",
"i686-pc-windows-msvc",
"i686-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-nixos-gnu",
"arm-unknown-linux-gnueabi",
"armv7-unknown-linux-gnueabi",
"armv7-linux-androideabi",
"armv7-unknown-linux-gnueabi",
"i686-apple-darwin",
"i686-pc-windows-msvc",
"i686-unknown-freebsd",
"i686-unknown-linux-gnu",
"powerpc-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-freebsd",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-nixos-gnu",
],
tags = ["manual"],
)
Expand Down
1 change: 1 addition & 0 deletions util/repin_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"/..

# Re-generates all files which may need to be re-generated after changing crate_universe.
bazel run //crate_universe/3rdparty:crates_vendor
bazel run //tools/rust_analyzer/3rdparty:crates_vendor

for d in examples/crate_universe* test/no_std
do
Expand Down

0 comments on commit ad10065

Please sign in to comment.