remove function struct export from arch_riscv64_user header

This commit is contained in:
auronandace
2026-05-20 07:44:58 +01:00
parent b07babc03c
commit d70761cbfb
2 changed files with 9 additions and 10 deletions
@@ -5,3 +5,12 @@ style = "Tag"
[enum]
prefix_with_name = true
[export]
include = [
"user_regs_struct",
"user_fpregs_struct",
"elf_gregset_t",
"elf_greg_t",
"elf_fpregset_t",
]
-10
View File
@@ -27,13 +27,3 @@ pub struct user_fpregs_struct {
pub type elf_greg_t = c_ulong;
pub type elf_gregset_t = user_regs_struct;
pub type elf_fpregset_t = user_fpregs_struct;
#[unsafe(no_mangle)]
pub extern "C" fn _cbindgen_only_generates_structs_if_they_are_mentioned_which_is_dumb_riscv64_user(
a: user_regs_struct,
b: user_fpregs_struct,
c: elf_gregset_t,
d: elf_greg_t,
e: elf_fpregset_t,
) {
}