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