Skip to content

Commit

Permalink
Update bindgen requirement from 0.64 to 0.65 (#147)
Browse files Browse the repository at this point in the history
* Update bindgen requirement from 0.64 to 0.65

Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases)
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md)
- [Commits](rust-lang/rust-bindgen@v0.64.0...v0.65.1)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix warn

* disable ssl

* use vcpkg

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: wangfenjin <[email protected]>
  • Loading branch information
dependabot[bot] and wangfenjin authored Apr 11, 2023
1 parent 5b03df8 commit 52e8c0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
# - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
# - run: vcpkg install openssl:x64-windows-static-md
- run: choco install openssl
- run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
- run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
- run: vcpkg install openssl:x64-windows-static-md
# - run: choco install openssl
# - run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
- uses: actions/cache@v3
with:
path: ~/.cargo/registry/index
Expand Down
2 changes: 1 addition & 1 deletion libduckdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extensions-full = ["httpfs", "json", "parquet"]

[build-dependencies]
autocfg = "1.0"
bindgen = { version = "0.64", optional = true, default-features = false, features = ["runtime"] }
bindgen = { version = "0.65", optional = true, default-features = false, features = ["runtime"] }
flate2 = "1.0"
pkg-config = { version = "0.3.24", optional = true }
cc = { version = "1.0", features = ["parallel"], optional = true }
Expand Down
1 change: 0 additions & 1 deletion libduckdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ mod bindings {
.trust_clang_mangling(false)
.header(header.clone())
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.rustfmt_bindings(true)
.generate()
.unwrap_or_else(|_| panic!("could not run bindgen on header {header}"))
.write(Box::new(&mut output))
Expand Down

0 comments on commit 52e8c0c

Please sign in to comment.