7304: Depend on local copy of la-arena instead of crates.io’s r=lnicola a=arzg

This addresses [this comment](https://github.com/rust-analyzer/rust-analyzer/pull/7276#issuecomment-760909936). #7275 and #7276 should start compiling if this is merged.

Co-authored-by: Aramis Razzaghipour <aramisnoah@gmail.com>
This commit is contained in:
bors[bot] 2021-01-17 07:05:44 +00:00 committed by GitHub
commit f5f011ba71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 16 deletions

16
Cargo.lock generated
View file

@ -552,7 +552,7 @@ dependencies = [
"hir_expand", "hir_expand",
"indexmap", "indexmap",
"itertools 0.10.0", "itertools 0.10.0",
"la-arena 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "la-arena",
"log", "log",
"mbe", "mbe",
"once_cell", "once_cell",
@ -571,7 +571,7 @@ version = "0.0.0"
dependencies = [ dependencies = [
"base_db", "base_db",
"either", "either",
"la-arena 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "la-arena",
"log", "log",
"mbe", "mbe",
"parser", "parser",
@ -596,7 +596,7 @@ dependencies = [
"hir_def", "hir_def",
"hir_expand", "hir_expand",
"itertools 0.10.0", "itertools 0.10.0",
"la-arena 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "la-arena",
"log", "log",
"once_cell", "once_cell",
"profile", "profile",
@ -771,12 +771,6 @@ dependencies = [
name = "la-arena" name = "la-arena"
version = "0.1.1" version = "0.1.1"
[[package]]
name = "la-arena"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "383ed2a74426d1051751f6483a7160b98f36068224857cd4c953b34719476fc3"
[[package]] [[package]]
name = "lazy_static" name = "lazy_static"
version = "1.4.0" version = "1.4.0"
@ -1212,7 +1206,7 @@ name = "profile"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"la-arena 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "la-arena",
"libc", "libc",
"once_cell", "once_cell",
"perf-event", "perf-event",
@ -1227,7 +1221,7 @@ dependencies = [
"cargo_metadata", "cargo_metadata",
"cfg", "cfg",
"itertools 0.10.0", "itertools 0.10.0",
"la-arena 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "la-arena",
"log", "log",
"paths", "paths",
"proc_macro_api", "proc_macro_api",

View file

@ -20,7 +20,7 @@ fst = { version = "0.4", default-features = false }
itertools = "0.10.0" itertools = "0.10.0"
indexmap = "1.4.0" indexmap = "1.4.0"
smallvec = "1.4.0" smallvec = "1.4.0"
la-arena = "0.1.0" la-arena = { version = "0.1.0", path = "../../lib/arena" }
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
base_db = { path = "../base_db", version = "0.0.0" } base_db = { path = "../base_db", version = "0.0.0" }

View file

@ -13,7 +13,7 @@ doctest = false
log = "0.4.8" log = "0.4.8"
either = "1.5.3" either = "1.5.3"
rustc-hash = "1.0.0" rustc-hash = "1.0.0"
la-arena = "0.1.0" la-arena = { version = "0.1.0", path = "../../lib/arena" }
base_db = { path = "../base_db", version = "0.0.0" } base_db = { path = "../base_db", version = "0.0.0" }
syntax = { path = "../syntax", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" }

View file

@ -20,7 +20,7 @@ scoped-tls = "1"
chalk-solve = { version = "0.47", default-features = false } chalk-solve = { version = "0.47", default-features = false }
chalk-ir = "0.47" chalk-ir = "0.47"
chalk-recursive = "0.47" chalk-recursive = "0.47"
la-arena = "0.1.0" la-arena = { version = "0.1.0", path = "../../lib/arena" }
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
hir_def = { path = "../hir_def", version = "0.0.0" } hir_def = { path = "../hir_def", version = "0.0.0" }

View file

@ -13,7 +13,7 @@ doctest = false
once_cell = "1.3.1" once_cell = "1.3.1"
cfg-if = "1" cfg-if = "1"
libc = "0.2.73" libc = "0.2.73"
la-arena = "0.1.0" la-arena = { version = "0.1.0", path = "../../lib/arena" }
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
perf-event = "0.4" perf-event = "0.4"

View file

@ -17,7 +17,7 @@ serde = { version = "1.0.106", features = ["derive"] }
serde_json = "1.0.48" serde_json = "1.0.48"
anyhow = "1.0.26" anyhow = "1.0.26"
itertools = "0.10.0" itertools = "0.10.0"
la-arena = "0.1.0" la-arena = { version = "0.1.0", path = "../../lib/arena" }
cfg = { path = "../cfg", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" }
base_db = { path = "../base_db", version = "0.0.0" } base_db = { path = "../base_db", version = "0.0.0" }