mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
parent
cffd7144fb
commit
c6174797dc
@ -32,6 +32,9 @@ fn main() {
|
||||
.use_core()
|
||||
.ctypes_prefix("::core::ffi")
|
||||
.generate_inline_functions(true)
|
||||
.raw_line("#![allow(dead_code)]")
|
||||
.raw_line("#![allow(non_upper_case_globals)]")
|
||||
.raw_line("#![allow(non_camel_case_types)]")
|
||||
// Tell cargo to invalidate the built crate whenever any of the
|
||||
// included header files changed.
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||
|
Loading…
x
Reference in New Issue
Block a user