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