Skip to content

Commit

Permalink
Add custom windows bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Dec 15, 2023
1 parent eba0894 commit fe54b08
Show file tree
Hide file tree
Showing 3 changed files with 3,761 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
createuser -s postgres
- name: Install postgres (Windows)
if: runner.os == 'Windows' && matrix.features == 'default'
if: runner.os == 'Windows' && matrix.features != 'bundled'
shell: bash
run: |
choco install postgresql12 --force --params '/Password:root'
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ extern crate pq_src;

#[cfg(not(feature = "buildtime_bindgen"))]
#[allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
#[cfg_attr(target_os = "windows", path = "windows_bindings.rs")]
mod bindings;

#[cfg(feature = "buildtime_bindgen")]
Expand Down
Loading

0 comments on commit fe54b08

Please sign in to comment.