Emit C attributes via cbindgen

This commit is contained in:
Josh Megnauth
2024-11-17 16:15:07 +00:00
committed by Jeremy Soller
parent a45c7b26d9
commit 5348273ccc
29 changed files with 175 additions and 35 deletions
+1 -4
View File
@@ -1,4 +1,4 @@
sys_includes = ["stddef.h", "alloca.h", "wchar.h"]
sys_includes = ["stddef.h", "alloca.h", "wchar.h", "features.h"]
include_guard = "_RELIBC_STDLIB_H"
trailer = "#include <bits/stdlib.h>"
language = "C"
@@ -8,6 +8,3 @@ cpp_compat = true
[enum]
prefix_with_name = true
[fn]
no_return = "__attribute__((noreturn))"