소스 검색

Merge branch 'cbindgen' into 'master'

Fix cbindgen for disabled headers

See merge request redox-os/relibc!237
Jeremy Soller 5 년 전
부모
커밋
a2721b8a31
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      src/header/_aio/cbindgen.toml
  2. 2 1
      src/header/_fenv/cbindgen.toml

+ 2 - 1
src/header/_aio/cbindgen.toml

@@ -2,7 +2,8 @@ sys_includes = []
 include_guard = "_AIO_H"
 language = "C"
 style = "Tag"
-no_default_includes = true
+no_includes = true
+cpp_compat = true
 
 [enum]
 prefix_with_name = true

+ 2 - 1
src/header/_fenv/cbindgen.toml

@@ -2,7 +2,8 @@ sys_includes = ["stdint.h", "sys/types.h"]
 include_guard = "_FENV_H"
 language = "C"
 style = "Tag"
-no_default_includes = true
+no_includes = true
+cpp_compat = true
 
 [enum]
 prefix_with_name = true