From b3d091f0d15bec60c777460572eab5ab4747221d Mon Sep 17 00:00:00 2001 From: Geoff Martin Date: Tue, 22 Oct 2024 18:54:49 +0100 Subject: [PATCH] Updated cyclors to a version which mangles C symbols to allow different versions of the library to be loaded in the same static binary. --- Cargo.lock | 28 +++++++++++++++------------- Cargo.toml | 3 ++- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ddde610..5103abc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -572,17 +572,17 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.68.1" +version = "0.69.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078" +checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" dependencies = [ "bitflags 2.6.0", "cexpr", "clang-sys", + "itertools 0.12.1", "lazy_static", "lazycell", "log", - "peeking_take_while", "prettyplease", "proc-macro2", "quote", @@ -1003,9 +1003,8 @@ dependencies = [ [[package]] name = "cyclors" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58394847fb240aaeb525aac3d133a8fda8d52d96fa526ba7e4647c87300cb768" +version = "0.2.3" +source = "git+https://github.com/ZettaScaleLabs/cyclors.git?branch=issue-24-0_2_1-arm-failure#5e0fbedc0dbeeb13e31aa432cf2f68a4b5781ec9" dependencies = [ "bincode", "bindgen", @@ -1723,6 +1722,15 @@ dependencies = [ "nom", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.13.0" @@ -2218,12 +2226,6 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "pem-rfc7468" version = "0.7.0" @@ -4356,7 +4358,7 @@ dependencies = [ "flume", "futures", "git-version", - "itertools", + "itertools 0.13.0", "json5", "lazy_static", "once_cell", diff --git a/Cargo.toml b/Cargo.toml index 1114701..00cbee2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,8 @@ async-trait = "0.1.66" bincode = "1.3.3" cdr = "0.2.4" clap = "4.4.11" -cyclors = "=0.2.1" +#cyclors = "=0.2.3" +cyclors = { git = "https://github.com/ZettaScaleLabs/cyclors.git", branch = "issue-24-0_2_1-arm-failure" } derivative = "2.2.0" flume = "0.11.0" futures = "0.3.26"