Skip to content

Commit

Permalink
fix(ci)!: bump Rust, bump bindgen to v0.70.1, and drop macos-12 (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: qryxip <[email protected]>
Refs: actions/runner-images#10721
  • Loading branch information
3 people authored Dec 4, 2024
1 parent e1940f3 commit 579d52c
Show file tree
Hide file tree
Showing 13 changed files with 7,159 additions and 16,203 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
include:
- os: windows-2019
- os: windows-2022
- os: macos-11
- os: macos-12
- os: macos-13
- os: macos-14
- os: ubuntu-20.04
- os: ubuntu-22.04
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion crates/open_jtalk-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ generate-bindings = []

[build-dependencies]
cmake = "0.1.48"
bindgen = "0.62.0"
bindgen = "0.70.1"

[dependencies]
link-cplusplus = "1.0.6"
4 changes: 2 additions & 2 deletions crates/open_jtalk-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ fn generate_bindings(
.header("wrapper.hpp")
.allowlist_recursively(true)
.clang_args(clang_args)
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.size_t_is_usize(true)
.rustfmt_bindings(true)
.formatter(bindgen::Formatter::Prettyplease)
.rustified_enum(".*");
let paths = std::fs::read_dir(include_dir).unwrap();
for path in paths {
Expand Down
Loading

0 comments on commit 579d52c

Please sign in to comment.