Skip to content

Commit

Permalink
Change autocxx-build version to 0.27.0
Browse files Browse the repository at this point in the history
The minimal Rust version for the bindings is `1.74.0`.
Recently, the `home` [^1] package raised its minimal supported rust version
to `v1.81.0` which breaks our min-rust requirement.

Before this commit, `lief-ffigen` was depending on this package via the
following dependency tree:

```
lief-ffigen v0.17.0 (/src/api/rust/cargo/lief-ffigen)
├── autocxx-build v0.26.0
│   ├── autocxx-engine v0.26.0
│   │   ├── autocxx-bindgen v0.65.1
│   │   │   └── which v4.4.2
│   │   │       └── home v0.5.11
```

It turns out that `which` is no longer a dependency of `autocxx-bindgen`
since this commit: c03964c0257b03ad4762b57f3ffb96d32d49c0ce[^2].

This commit is part of the `0.27.0` release of `autocxx-engine`.

[^1]: https://crates.io/crates/home
[^2]: adetaylor/rust-bindgen@c03964c
  • Loading branch information
romainthomas committed Dec 21, 2024
1 parent cf6e59c commit 75a27f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/rust/cargo/lief-ffigen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license.workspace = true

[dependencies]
cc = "1.0"
autocxx-build = "0.26.0"
autocxx-build = "0.27.0"
cmake = "0.1.50"
toml = "0.8.6"
serde = "1.0"
Expand Down

0 comments on commit 75a27f0

Please sign in to comment.