xref: /DragonOS/build-scripts/kernel_build/src/bindgen/arch/x86_64.rs (revision 406099704eb939ae23b18f0cfb3ed36c534c1c84)
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