aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2021-04-01 00:16:55 -0400
committerGitHub <noreply@github.com>2021-04-01 00:16:55 -0400
commit756b5b64f09525ccec07ba512a7e53e3419ad8f8 (patch)
tree0ed9a0218efc3996d68ffba85268a86339af71b2
parentc1d9d87b999bd86b5b44f874ba7f2a7a06476579 (diff)
parent01462b92917dfca3c54e5caa703c62f6c766271e (diff)
downloadcxx-756b5b64f09525ccec07ba512a7e53e3419ad8f8.tar.gz
Merge pull request #801 from dtolnay/lexerror
Update to proc-macro2 with lex error spans
-rw-r--r--gen/build/Cargo.toml4
-rw-r--r--gen/cmd/Cargo.toml4
-rw-r--r--gen/lib/Cargo.toml4
-rw-r--r--macro/Cargo.toml2
-rw-r--r--third-party/BUCK4
-rw-r--r--third-party/BUILD4
-rw-r--r--third-party/Cargo.lock8
7 files changed, 15 insertions, 15 deletions
diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml
index bde7cff4..6199b1f0 100644
--- a/gen/build/Cargo.toml
+++ b/gen/build/Cargo.toml
@@ -18,10 +18,10 @@ parallel = ["cc/parallel"]
cc = "1.0.49"
codespan-reporting = "0.11"
lazy_static = "1.4"
-proc-macro2 = { version = "1.0.17", default-features = false, features = ["span-locations"] }
+proc-macro2 = { version = "1.0.26", default-features = false, features = ["span-locations"] }
quote = { version = "1.0", default-features = false }
scratch = "1.0"
-syn = { version = "1.0.57", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
+syn = { version = "1.0.68", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
[dev-dependencies]
cxx-gen = { version = "0.7", path = "../lib" }
diff --git a/gen/cmd/Cargo.toml b/gen/cmd/Cargo.toml
index e33c25f8..76d88acf 100644
--- a/gen/cmd/Cargo.toml
+++ b/gen/cmd/Cargo.toml
@@ -18,9 +18,9 @@ path = "src/main.rs"
[dependencies]
clap = "2.33"
codespan-reporting = "0.11"
-proc-macro2 = { version = "1.0.17", default-features = false, features = ["span-locations"] }
+proc-macro2 = { version = "1.0.26", default-features = false, features = ["span-locations"] }
quote = { version = "1.0", default-features = false }
-syn = { version = "1.0.57", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
+syn = { version = "1.0.68", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
diff --git a/gen/lib/Cargo.toml b/gen/lib/Cargo.toml
index 1d159d1c..13cb8918 100644
--- a/gen/lib/Cargo.toml
+++ b/gen/lib/Cargo.toml
@@ -13,9 +13,9 @@ categories = ["development-tools::ffi"]
[dependencies]
cc = "1.0.49"
codespan-reporting = "0.11"
-proc-macro2 = { version = "1.0.17", default-features = false, features = ["span-locations"] }
+proc-macro2 = { version = "1.0.26", default-features = false, features = ["span-locations"] }
quote = { version = "1.0", default-features = false }
-syn = { version = "1.0.57", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
+syn = { version = "1.0.68", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
diff --git a/macro/Cargo.toml b/macro/Cargo.toml
index 76c59e2f..9a3a52a3 100644
--- a/macro/Cargo.toml
+++ b/macro/Cargo.toml
@@ -17,7 +17,7 @@ proc-macro = true
[dependencies]
proc-macro2 = "1.0"
quote = "1.0.4"
-syn = { version = "1.0.57", features = ["full"] }
+syn = { version = "1.0.68", features = ["full"] }
[dev-dependencies]
cxx = { version = "1.0", path = ".." }
diff --git a/third-party/BUCK b/third-party/BUCK
index 77f78704..84a5e18b 100644
--- a/third-party/BUCK
+++ b/third-party/BUCK
@@ -41,7 +41,7 @@ rust_library(
rust_library(
name = "proc-macro2",
- srcs = glob(["vendor/proc-macro2-1.0.24/src/**"]),
+ srcs = glob(["vendor/proc-macro2-1.0.26/src/**"]),
visibility = ["PUBLIC"],
features = [
"proc-macro",
@@ -72,7 +72,7 @@ rust_library(
rust_library(
name = "syn",
- srcs = glob(["vendor/syn-1.0.67/src/**"]),
+ srcs = glob(["vendor/syn-1.0.68/src/**"]),
visibility = ["PUBLIC"],
features = [
"clone-impls",
diff --git a/third-party/BUILD b/third-party/BUILD
index d2673b68..cf1a2883 100644
--- a/third-party/BUILD
+++ b/third-party/BUILD
@@ -45,7 +45,7 @@ rust_library(
rust_library(
name = "proc-macro2",
- srcs = glob(["vendor/proc-macro2-1.0.24/src/**"]),
+ srcs = glob(["vendor/proc-macro2-1.0.26/src/**"]),
crate_features = [
"proc-macro",
"span-locations",
@@ -76,7 +76,7 @@ rust_library(
rust_library(
name = "syn",
- srcs = glob(["vendor/syn-1.0.67/src/**"]),
+ srcs = glob(["vendor/syn-1.0.68/src/**"]),
crate_features = [
"clone-impls",
"derive",
diff --git a/third-party/Cargo.lock b/third-party/Cargo.lock
index 6a80e6ed..00bc7ab0 100644
--- a/third-party/Cargo.lock
+++ b/third-party/Cargo.lock
@@ -210,9 +210,9 @@ checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
[[package]]
name = "proc-macro2"
-version = "1.0.24"
+version = "1.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
+checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec"
dependencies = [
"unicode-xid",
]
@@ -283,9 +283,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "syn"
-version = "1.0.67"
+version = "1.0.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6498a9efc342871f91cc2d0d694c674368b4ceb40f62b65a7a08c3792935e702"
+checksum = "3ce15dd3ed8aa2f8eeac4716d6ef5ab58b6b9256db41d7e1a0224c2788e8fd87"
dependencies = [
"proc-macro2",
"quote",