File: relax-bindgen.diff

package info (click to toggle)
rust-exacl 0.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 600 kB
  • sloc: sh: 2,090; ansic: 12; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 600 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -66,7 +66,7 @@
 version = "3.1.0"
 
 [build-dependencies.bindgen]
-version = "0.63.0"
+version = ">=0.71, <1.0"
 optional = true
 
 [features]
--- a/build.rs
+++ b/build.rs
@@ -37,7 +37,7 @@
     // crate when any included header file changes.
     let mut builder = bindgen::Builder::default()
         .header(wrapper)
-        .parse_callbacks(Box::new(bindgen::CargoCallbacks))
+        .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
         .disable_header_comment()
         .layout_tests(false); // no layout tests for passwd/group structs.