From 05e53dfd930d9142a15fa7ea47b685f42c5d5382 Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Mon, 28 Oct 2024 18:55:37 -0700 Subject: [PATCH] third-party/rust: update cbindgen to upstream git repo Summary: PRs https://github.com/mozilla/cbindgen/pull/1006 https://github.com/mozilla/cbindgen/pull/1007 were accepted, so update patch to upstream git repo until next release is cut. Also bump `syn` to match cbindgen. Reviewed By: dtolnay Differential Revision: D65079945 fbshipit-source-id: 5b9f0467150d7cf81f5a9df0bb4d0c1309e67e1b --- Cargo.toml | 2 +- shed/facet/proc_macros/Cargo.toml | 2 +- shed/fbinit/fbinit_macros/Cargo.toml | 2 +- shed/quickcheck_arbitrary_derive/Cargo.toml | 2 +- shed/scuba_sample/derive/Cargo.toml | 2 +- shed/sql/derive/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 869586799..a877f2450 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [patch.crates-io] abomonation = { git = "https://github.com/markbt/abomonation", rev = "0f43346d2afa2aedc64d61f3f4273e8d1e454642" } base64urlsafedata = { git = "https://github.com/kanidm/webauthn-rs.git", rev = "d278c56adfa39a0723c79bdcd461644194bc5138" } -cbindgen = { git = "https://github.com/jsgf/cbindgen.git", rev = "e522aa9c35a9235f9e8ef03b1c54e41ee4cfafbd" } +cbindgen = { git = "https://github.com/mozilla/cbindgen.git", rev = "89a9faa97cc267e90fc95a1cc6177a001aed5b51" } cxx = { package = "cxx", git = "https://github.com/facebookexperimental/cxx.git", rev = "2ea39c564284a70fdc1793fd72c442433e5a2638" } cxx-build = { package = "cxx-build", git = "https://github.com/facebookexperimental/cxx.git", rev = "2ea39c564284a70fdc1793fd72c442433e5a2638" } displaydoc = { git = "https://github.com/yaahc/displaydoc", rev = "7dc6e324b1788a6b7fb9f3a1953c512923a3e9f0" } diff --git a/shed/facet/proc_macros/Cargo.toml b/shed/facet/proc_macros/Cargo.toml index fd2cddf03..b607ec1a3 100644 --- a/shed/facet/proc_macros/Cargo.toml +++ b/shed/facet/proc_macros/Cargo.toml @@ -19,7 +19,7 @@ proc-macro = true proc-macro-crate = "1.1.0" proc-macro2 = { version = "1.0.70", features = ["span-locations"] } quote = "1.0.29" -syn = { version = "2.0.79", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +syn = { version = "2.0.85", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } [lints] rust = { unexpected_cfgs = { check-cfg = ["cfg(fb_buck_build)"], level = "warn" } } diff --git a/shed/fbinit/fbinit_macros/Cargo.toml b/shed/fbinit/fbinit_macros/Cargo.toml index aea20dc9a..e68c875e6 100644 --- a/shed/fbinit/fbinit_macros/Cargo.toml +++ b/shed/fbinit/fbinit_macros/Cargo.toml @@ -19,4 +19,4 @@ proc-macro = true [dependencies] proc-macro2 = { version = "1.0.70", features = ["span-locations"] } quote = "1.0.29" -syn = { version = "2.0.79", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +syn = { version = "2.0.85", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } diff --git a/shed/quickcheck_arbitrary_derive/Cargo.toml b/shed/quickcheck_arbitrary_derive/Cargo.toml index 507030490..92725fc36 100644 --- a/shed/quickcheck_arbitrary_derive/Cargo.toml +++ b/shed/quickcheck_arbitrary_derive/Cargo.toml @@ -22,4 +22,4 @@ path = "examples/example.rs" proc-macro2 = { version = "1.0.70", features = ["span-locations"] } quickcheck = "1.0" quote = "1.0.29" -syn = { version = "2.0.79", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +syn = { version = "2.0.85", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } diff --git a/shed/scuba_sample/derive/Cargo.toml b/shed/scuba_sample/derive/Cargo.toml index 57ce4afdb..60d221fe9 100644 --- a/shed/scuba_sample/derive/Cargo.toml +++ b/shed/scuba_sample/derive/Cargo.toml @@ -18,4 +18,4 @@ proc-macro = true [dependencies] proc-macro2 = { version = "1.0.70", features = ["span-locations"] } quote = "1.0.29" -syn = { version = "2.0.79", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +syn = { version = "2.0.85", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } diff --git a/shed/sql/derive/Cargo.toml b/shed/sql/derive/Cargo.toml index 71a9ca56e..17638dde8 100644 --- a/shed/sql/derive/Cargo.toml +++ b/shed/sql/derive/Cargo.toml @@ -18,4 +18,4 @@ proc-macro = true [dependencies] quote = "1.0.29" -syn = { version = "2.0.79", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +syn = { version = "2.0.85", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }