Skip to content

Commit 4be4fbe

Browse files
authored
Update rust-analyzer tool dependencies (#3935)
1 parent 71aae07 commit 4be4fbe

75 files changed

Lines changed: 2525 additions & 4017 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MODULE.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ internal_deps = use_extension("//rust/private:internal_extensions.bzl", "i")
2121
use_repo(
2222
internal_deps,
2323
"rrra",
24-
"rrra__anyhow-1.0.71",
25-
"rrra__camino-1.1.9",
26-
"rrra__clap-4.3.11",
27-
"rrra__env_logger-0.10.0",
28-
"rrra__itertools-0.11.0",
29-
"rrra__log-0.4.19",
30-
"rrra__serde-1.0.171",
31-
"rrra__serde_json-1.0.102",
24+
"rrra__anyhow-1.0.102",
25+
"rrra__camino-1.2.2",
26+
"rrra__clap-4.6.0",
27+
"rrra__env_logger-0.11.10",
28+
"rrra__itertools-0.14.0",
29+
"rrra__log-0.4.29",
30+
"rrra__serde-1.0.228",
31+
"rrra__serde_json-1.0.149",
3232
"rules_rust_tinyjson",
3333
)
3434

tools/rust_analyzer/3rdparty/BUILD.bazel

Lines changed: 3 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,15 @@
11
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
2-
load("//crate_universe:defs.bzl", "crate", "crates_vendor")
2+
load("//crate_universe:defs.bzl", "crates_vendor")
33

44
crates_vendor(
55
name = "crates_vendor",
6-
annotations = {
7-
"io-lifetimes": [
8-
crate.annotation(
9-
patches = ["@rules_rust//tools/rust_analyzer/3rdparty/patches:io-lifetimes-determinism.patch"],
10-
),
11-
],
12-
"rustix": [
13-
crate.annotation(
14-
patches = ["@rules_rust//tools/rust_analyzer/3rdparty/patches:rustix-determinism.patch"],
15-
),
16-
],
17-
},
18-
cargo_lockfile = "Cargo.Bazel.lock",
6+
cargo_lockfile = "Cargo.lock",
7+
manifests = ["Cargo.toml"],
198
mode = "remote",
20-
packages = {
21-
"anyhow": crate.spec(
22-
version = "1.0.71",
23-
),
24-
"camino": crate.spec(
25-
features = ["serde1"],
26-
version = "1.1.9",
27-
),
28-
"clap": crate.spec(
29-
features = [
30-
"derive",
31-
"env",
32-
],
33-
version = "4.3.11",
34-
),
35-
"env_logger": crate.spec(
36-
version = "0.10.0",
37-
),
38-
"itertools": crate.spec(
39-
version = "0.11.0",
40-
),
41-
"log": crate.spec(
42-
version = "0.4.19",
43-
),
44-
"serde": crate.spec(
45-
features = ["derive"],
46-
version = "1.0.171",
47-
),
48-
"serde_json": crate.spec(
49-
version = "1.0.102",
50-
),
51-
},
529
# Short for 'rules_rust rust_analyzer'. Keep this short to reduce
5310
# the risk to bump into absolute path length issues on Windows. See:
5411
# https://github.com/bazelbuild/rules_rust/issues/1120
5512
repository_name = "rrra",
56-
supported_platform_triples = [
57-
"aarch64-apple-darwin",
58-
"aarch64-pc-windows-msvc",
59-
"aarch64-unknown-linux-gnu",
60-
"aarch64-unknown-nixos-gnu",
61-
"arm-unknown-linux-gnueabi",
62-
"armv7-linux-androideabi",
63-
"armv7-unknown-linux-gnueabi",
64-
"i686-apple-darwin",
65-
"i686-pc-windows-msvc",
66-
"i686-unknown-freebsd",
67-
"i686-unknown-linux-gnu",
68-
"powerpc-unknown-linux-gnu",
69-
"s390x-unknown-linux-gnu",
70-
"x86_64-apple-darwin",
71-
"x86_64-pc-windows-msvc",
72-
"x86_64-unknown-freebsd",
73-
"x86_64-unknown-linux-gnu",
74-
"x86_64-unknown-nixos-gnu",
75-
],
7613
tags = ["manual"],
7714
)
7815

0 commit comments

Comments
 (0)