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]
|
||||
anyhow = "1.0"
|
||||
bindgen = "0.69"
|
||||
bindgen = ">=0.68, <0.70"
|
||||
glob = "0.3"
|
||||
lazy_static = "1.4"
|
||||
libbpf-cargo = "0.22"
|
||||
|
@ -506,7 +506,7 @@ impl BpfBuilder {
|
||||
.header(input)
|
||||
// Tell cargo to invalidate the built crate whenever any of the
|
||||
// included header files changed.
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||
.generate()
|
||||
.context("Unable to generate bindings")?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user