mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-30 04:50:24 +00:00
Merge pull request #50 from jordalgo/downgrade-bindgen
Downgrade bindgen to 0.68
This commit is contained in:
commit
1d868dbf89
@ -9,7 +9,7 @@ description = "Utilities for sched_ext schedulers"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
bindgen = "0.69"
|
bindgen = ">=0.68, <0.70"
|
||||||
glob = "0.3"
|
glob = "0.3"
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
libbpf-cargo = "0.22"
|
libbpf-cargo = "0.22"
|
||||||
|
@ -506,7 +506,7 @@ impl BpfBuilder {
|
|||||||
.header(input)
|
.header(input)
|
||||||
// Tell cargo to invalidate the built crate whenever any of the
|
// Tell cargo to invalidate the built crate whenever any of the
|
||||||
// included header files changed.
|
// included header files changed.
|
||||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
|
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||||
.generate()
|
.generate()
|
||||||
.context("Unable to generate bindings")?;
|
.context("Unable to generate bindings")?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user