xref: /DragonOS/build-scripts/kernel_build/src/bindgen/arch/x86_64.rs (revision f5b2038871d3441e1c7f32439ff422957e7ab828)
1 use super::BindgenArch;
2 
3 pub struct X86_64BindgenArch;
4 
5 impl BindgenArch for X86_64BindgenArch {
6     fn generate_bindings(&self, builder: bindgen::Builder) -> bindgen::Builder {
7         builder
8             .clang_arg("-I./src/arch/x86_64/include")
9             .clang_arg("--target=x86_64-none-none")
10     }
11 }
12