Skip to content

Commit

Permalink
third-party/rust: update cbindgen to upstream git repo
Browse files Browse the repository at this point in the history
Summary:
PRs mozilla/cbindgen#1006
mozilla/cbindgen#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
  • Loading branch information
Jeremy Fitzhardinge authored and facebook-github-bot committed Oct 29, 2024
1 parent d519e81 commit 05e53df
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion shed/facet/proc_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" } }
2 changes: 1 addition & 1 deletion shed/fbinit/fbinit_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion shed/quickcheck_arbitrary_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion shed/scuba_sample/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion shed/sql/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

0 comments on commit 05e53df

Please sign in to comment.