Skip to content

Commit 52e8c0c

Browse files
Update bindgen requirement from 0.64 to 0.65 (#147)
* 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]>
1 parent 5b03df8 commit 52e8c0c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/rust.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ jobs:
101101
runs-on: windows-latest
102102
steps:
103103
- uses: actions/checkout@v2
104-
# - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
105-
# - run: vcpkg install openssl:x64-windows-static-md
106-
- run: choco install openssl
107-
- run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
104+
- run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
105+
- run: vcpkg install openssl:x64-windows-static-md
106+
# - run: choco install openssl
107+
# - run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
108108
- uses: actions/cache@v3
109109
with:
110110
path: ~/.cargo/registry/index

libduckdb-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extensions-full = ["httpfs", "json", "parquet"]
2929

3030
[build-dependencies]
3131
autocfg = "1.0"
32-
bindgen = { version = "0.64", optional = true, default-features = false, features = ["runtime"] }
32+
bindgen = { version = "0.65", optional = true, default-features = false, features = ["runtime"] }
3333
flate2 = "1.0"
3434
pkg-config = { version = "0.3.24", optional = true }
3535
cc = { version = "1.0", features = ["parallel"], optional = true }

libduckdb-sys/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ mod bindings {
316316
.trust_clang_mangling(false)
317317
.header(header.clone())
318318
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
319-
.rustfmt_bindings(true)
320319
.generate()
321320
.unwrap_or_else(|_| panic!("could not run bindgen on header {header}"))
322321
.write(Box::new(&mut output))

0 commit comments

Comments
 (0)