Merge branch 'cbindgen-use-attributes' into 'master'

Emit C attributes via cbindgen

See merge request redox-os/relibc!548
This commit is contained in:
Jeremy Soller
2024-11-17 16:15:07 +00:00
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))"