]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
Cargo.lock: update bindgen to latest, now requiring Rust 1.77 to build
authorYann Dirson <yann.dirson@vates.tech>
Fri, 4 Oct 2024 14:32:49 +0000 (16:32 +0200)
committerYann Dirson <yann.dirson@vates.tech>
Fri, 4 Oct 2024 18:26:42 +0000 (20:26 +0200)
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
.gitlab-ci.yml
CHANGELOG.md
Cargo.lock
README.md

index b3b24f4ef66787c7693d70df3c429718d7ad8037..7bea2cc7ee175e0e3ba2dc35db9c5142de3298e7 100644 (file)
@@ -16,7 +16,7 @@ workflow:
     - if: $CI_COMMIT_TAG
 
 variables:
-  RUST_MIN_VERSION: "1.74-buster"
+  RUST_MIN_VERSION: "1.77-buster"
   RUST_REL_VERSION: "1.79-buster"
   LINUX_RUSTIMG: "docker.io/library/rust:${RUST_VERSION}"
   PKG_ROOT: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic"
index 704c10b8d93df09f32779fb20505514c0a381ee5..4b9baaa70af40728900e772926daf3e1cbb8302e 100644 (file)
@@ -20,6 +20,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/)
 
 ### other noteworthy changes
 
+* build now requires Rust 1.77
 * build on FreeBSD does not require to set environment variables any
   more, now relies on pkg-config (requires "pkgconf" to build)
 
index e82d9848b7709243e3c871be95110c0edbde1b59..09ef812cb1261251720bad2a99d19943b0532920 100644 (file)
@@ -126,16 +126,14 @@ dependencies = [
 
 [[package]]
 name = "bindgen"
-version = "0.69.4"
+version = "0.70.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
+checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f"
 dependencies = [
  "bitflags",
  "cexpr",
  "clang-sys",
  "itertools",
- "lazy_static",
- "lazycell",
  "log",
  "prettyplease",
  "proc-macro2",
@@ -144,7 +142,6 @@ dependencies = [
  "rustc-hash",
  "shlex",
  "syn",
- "which",
 ]
 
 [[package]]
@@ -287,16 +284,6 @@ dependencies = [
  "log",
 ]
 
-[[package]]
-name = "errno"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
-dependencies = [
- "libc",
- "windows-sys 0.52.0",
-]
-
 [[package]]
 name = "error-chain"
 version = "0.12.4"
@@ -419,15 +406,6 @@ version = "0.3.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
 
-[[package]]
-name = "home"
-version = "0.5.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
-dependencies = [
- "windows-sys 0.52.0",
-]
-
 [[package]]
 name = "hostname"
 version = "0.3.1"
@@ -462,9 +440,9 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
 
 [[package]]
 name = "itertools"
-version = "0.12.1"
+version = "0.13.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
+checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
 dependencies = [
  "either",
 ]
@@ -475,18 +453,6 @@ version = "1.0.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
 
-[[package]]
-name = "lazy_static"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
-
-[[package]]
-name = "lazycell"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
-
 [[package]]
 name = "libc"
 version = "0.2.159"
@@ -503,12 +469,6 @@ dependencies = [
  "windows-targets",
 ]
 
-[[package]]
-name = "linux-raw-sys"
-version = "0.4.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
-
 [[package]]
 name = "lock_api"
 version = "0.4.12"
@@ -680,15 +640,6 @@ dependencies = [
  "memchr",
 ]
 
-[[package]]
-name = "once_cell"
-version = "1.20.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82881c4be219ab5faaf2ad5e5e5ecdff8c66bd7402ca3160975c93b24961afd1"
-dependencies = [
- "portable-atomic",
-]
-
 [[package]]
 name = "os_info"
 version = "3.8.2"
@@ -778,12 +729,6 @@ dependencies = [
  "winapi",
 ]
 
-[[package]]
-name = "portable-atomic"
-version = "1.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
-
 [[package]]
 name = "powerfmt"
 version = "0.2.0"
@@ -886,19 +831,6 @@ version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
 
-[[package]]
-name = "rustix"
-version = "0.38.37"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
-dependencies = [
- "bitflags",
- "errno",
- "libc",
- "linux-raw-sys",
- "windows-sys 0.52.0",
-]
-
 [[package]]
 name = "same-file"
 version = "1.0.6"
@@ -1143,18 +1075,6 @@ version = "0.11.0+wasi-snapshot-preview1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
 
-[[package]]
-name = "which"
-version = "4.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
-dependencies = [
- "either",
- "home",
- "once_cell",
- "rustix",
-]
-
 [[package]]
 name = "winapi"
 version = "0.3.9"
index b3c4e8aedc2b268a94de97ef1e471879614df97a..28387f3415e611f2216178665df55c5a4a37d05f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -40,15 +40,15 @@ Some features to consider (from `xe-guest-utilities`):
 
 ### Build requirements
 
-You need a Rust 1.74 toolchain or later.
+You need a Rust 1.77 toolchain or later.
 
 > **Note**:
 >
 > Actually, you only need a Rust 1.71 toolchain or later to build this
-> package's code (as reflected in `Cargo.toml`).  **However**, due to
-> the current-as-of-the-time-of-this-writing version of `clap` needing
-> a 1.74 toolchain, you will need 1.74 to build using the shipped
-> `Cargo.lock`.
+> package's code (as reflected in `Cargo.toml`).  **However**, `clap`
+> 4.5 needs a 1.74 toolchain.  And then `bindgen` 0.70 now generates
+> codes that assumes `std::mem::offset_of` is stable, so wants a 1.77
+> toolchain.
 
 Since the Cargo tool cannot be told about non-Rust dependencies, you
 have to install manually on your build machine: