Skip to content

Commit

Permalink
new bindgen defaults to non-rustified enums, revert for now
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Jan 15, 2018
1 parent 9cdd5d5 commit 4e91f74
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 134 deletions.
2 changes: 1 addition & 1 deletion zstd-safe/zstd-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ readme = "Readme.md"
links = "zstd"

[build-dependencies]
bindgen = { version = "0.31", optional = true }
bindgen = { version = "0.32", optional = true }
gcc = "0.3.51"
glob = "0.2.11"

Expand Down
1 change: 1 addition & 0 deletions zstd-safe/zstd-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ fn generate_bindings() {
.header("zstd.h")
.blacklist_type("max_align_t")
.use_core()
.rustified_enum(".*")
.ctypes_prefix("::libc")
.clang_arg("-Izstd/lib")
.clang_arg("-DZSTD_STATIC_LINKING_ONLY")
Expand Down
Loading

0 comments on commit 4e91f74

Please sign in to comment.