We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bindgen
rust-version
1 parent 5ec11f2 commit 83fa8ecCopy full SHA for 83fa8ec
Cargo.toml
@@ -14,7 +14,7 @@ authors = [
14
]
15
license = "BSD-2-Clause"
16
edition = "2021"
17
-rust-version = "1.82"
+rust-version = "1.70"
18
build = "build.rs"
19
links = "bpf"
20
exclude = [
build.rs
@@ -58,6 +58,7 @@ fn generate_bindings(src_dir: path::PathBuf) {
58
&path::PathBuf::from(env::var_os("OUT_DIR").expect("OUT_DIR should always be set"));
59
60
bindgen::Builder::default()
61
+ .rust_target(env!("CARGO_PKG_RUST_VERSION").parse().expect("valid"))
62
.derive_default(true)
63
.explicit_padding(true)
64
.default_enum_style(bindgen::EnumVariation::Consts)
0 commit comments