pin proc_macro_nested due to Windows breakage

This commit is contained in:
Damien Elmes 2021-02-03 21:17:11 +10:00
parent c009a5bda1
commit da407a5000
7 changed files with 25 additions and 11 deletions

5
Cargo.lock generated
View file

@ -58,6 +58,7 @@ dependencies = [
"num_enum",
"once_cell",
"pin-project 1.0.4",
"proc-macro-nested",
"prost",
"prost-build",
"rand 0.7.3",
@ -1521,9 +1522,9 @@ checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
[[package]]
name = "proc-macro-nested"
version = "0.1.7"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a"
[[package]]
name = "proc-macro2"

View file

@ -1593,12 +1593,12 @@ def raze_fetch_remote_crates():
maybe(
http_archive,
name = "raze__proc_macro_nested__0_1_7",
url = "https://crates.io/api/v1/crates/proc-macro-nested/0.1.7/download",
name = "raze__proc_macro_nested__0_1_6",
url = "https://crates.io/api/v1/crates/proc-macro-nested/0.1.6/download",
type = "tar.gz",
sha256 = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086",
strip_prefix = "proc-macro-nested-0.1.7",
build_file = Label("//cargo/remote:BUILD.proc-macro-nested-0.1.7.bazel"),
sha256 = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a",
strip_prefix = "proc-macro-nested-0.1.6",
build_file = Label("//cargo/remote:BUILD.proc-macro-nested-0.1.6.bazel"),
)
maybe(

View file

@ -1441,7 +1441,7 @@
},
{
"name": "proc-macro-nested",
"version": "0.1.7",
"version": "0.1.6",
"authors": "David Tolnay <dtolnay@gmail.com>",
"repository": "https://github.com/dtolnay/proc-macro-hack",
"license": "Apache-2.0 OR MIT",

View file

@ -79,7 +79,7 @@ rust_library(
"@raze__memchr__2_3_4//:memchr",
"@raze__pin_project_lite__0_2_4//:pin_project_lite",
"@raze__pin_utils__0_1_0//:pin_utils",
"@raze__proc_macro_nested__0_1_7//:proc_macro_nested",
"@raze__proc_macro_nested__0_1_6//:proc_macro_nested",
"@raze__slab__0_4_2//:slab",
],
)

View file

@ -52,7 +52,7 @@ cargo_build_script(
"cargo-raze",
"manual",
],
version = "0.1.7",
version = "0.1.6",
visibility = ["//visibility:private"],
deps = [
],
@ -74,7 +74,7 @@ rust_library(
"cargo-raze",
"manual",
],
version = "0.1.7",
version = "0.1.6",
# buildifier: leave-alone
deps = [
":proc_macro_nested_build_script",

View file

@ -75,3 +75,7 @@ unicode-normalization = "0.1.13"
utime = "0.3.1"
zip = { version = "0.5.6", default-features = false, features = ["deflate", "time"] }
async-trait = "0.1.42"
# transitive dependency; 0.1.7 is currently broken on Windows (perhaps
# only in Bazel)
proc-macro-nested = "=0.1.6"

View file

@ -228,6 +228,15 @@ alias(
],
)
alias(
name = "proc_macro_nested",
actual = "@raze__proc_macro_nested__0_1_6//:proc_macro_nested",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "prost",
actual = "@raze__prost__0_7_0//:prost",