From 63a1319e50df6812b51456d05eeb85f4da513349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Wed, 10 Jul 2019 10:08:39 +0000 Subject: [PATCH] Cbindgen update --- .gitmodules | 2 +- Cargo.lock | 316 -------------------------- Cargo.toml | 4 +- Makefile | 1 + cbindgen | 2 +- include.sh | 2 +- src/header/_aio/cbindgen.toml | 1 + src/header/_fenv/cbindgen.toml | 1 + src/header/_template/cbindgen.toml | 2 + src/header/_wctype/cbindgen.toml | 2 + src/header/arpa_inet/cbindgen.toml | 2 + src/header/assert/cbindgen.toml | 2 + src/header/ctype/cbindgen.toml | 2 + src/header/dirent/cbindgen.toml | 2 + src/header/dl-tls/cbindgen.toml | 2 + src/header/dlfcn/cbindgen.toml | 2 + src/header/errno/cbindgen.toml | 2 + src/header/fcntl/cbindgen.toml | 2 + src/header/float/cbindgen.toml | 2 + src/header/fnmatch/cbindgen.toml | 2 + src/header/getopt/cbindgen.toml | 2 + src/header/grp/cbindgen.toml | 2 + src/header/inttypes/cbindgen.toml | 2 + src/header/libgen/cbindgen.toml | 2 + src/header/limits/cbindgen.toml | 2 + src/header/locale/cbindgen.toml | 2 + src/header/netdb/cbindgen.toml | 2 + src/header/netinet_in/cbindgen.toml | 2 + src/header/netinet_ip/cbindgen.toml | 2 + src/header/netinet_tcp/cbindgen.toml | 2 + src/header/poll/cbindgen.toml | 2 + src/header/pwd/cbindgen.toml | 2 + src/header/regex/cbindgen.toml | 2 + src/header/semaphore/cbindgen.toml | 2 + src/header/sgtty/cbindgen.toml | 2 + src/header/signal/cbindgen.toml | 2 + src/header/stdio/cbindgen.toml | 2 + src/header/stdlib/cbindgen.toml | 2 + src/header/string/cbindgen.toml | 2 + src/header/strings/cbindgen.toml | 2 + src/header/sys_auxv/cbindgen.toml | 2 + src/header/sys_epoll/cbindgen.toml | 2 + src/header/sys_file/cbindgen.toml | 2 + src/header/sys_ioctl/cbindgen.toml | 2 + src/header/sys_mman/cbindgen.toml | 2 + src/header/sys_resource/cbindgen.toml | 2 + src/header/sys_select/cbindgen.toml | 2 + src/header/sys_socket/cbindgen.toml | 2 + src/header/sys_stat/cbindgen.toml | 2 + src/header/sys_statvfs/cbindgen.toml | 2 + src/header/sys_time/cbindgen.toml | 2 + src/header/sys_timeb/cbindgen.toml | 2 + src/header/sys_times/cbindgen.toml | 2 + src/header/sys_uio/cbindgen.toml | 2 + src/header/sys_un/cbindgen.toml | 2 + src/header/sys_utsname/cbindgen.toml | 2 + src/header/sys_wait/cbindgen.toml | 2 + src/header/termios/cbindgen.toml | 2 + src/header/time/cbindgen.toml | 2 + src/header/unistd/cbindgen.toml | 2 + src/header/utime/cbindgen.toml | 2 + src/header/wchar/cbindgen.toml | 2 + 62 files changed, 116 insertions(+), 321 deletions(-) diff --git a/.gitmodules b/.gitmodules index edbbe9b611..e6d028fb15 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = https://gitlab.redox-os.org/redox-os/openlibm.git [submodule "cbindgen"] path = cbindgen - url = https://gitlab.redox-os.org/redox-os/cbindgen.git + url = https://github.com/eqrion/cbindgen.git [submodule "ralloc"] path = ralloc url = https://gitlab.redox-os.org/redox-os/ralloc.git diff --git a/Cargo.lock b/Cargo.lock index 70bfebaa14..3e8b4a8cbe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,42 +1,5 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -[[package]] -name = "ansi_term" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "atty" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", - "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "bitflags" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "cbindgen" -version = "0.5.2" -dependencies = [ - "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.21 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", - "standalone-syn 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", - "tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", - "toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "cbitset" version = "0.1.0" @@ -55,20 +18,6 @@ name = "cfg-if" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "clap" -version = "2.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", - "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "core_io" version = "0.1.20181107" @@ -88,11 +37,6 @@ version = "0.1.0" name = "crtn" version = "0.1.0" -[[package]] -name = "fuchsia-cprng" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "goblin" version = "0.0.21" @@ -103,11 +47,6 @@ dependencies = [ "scroll 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "itoa" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "lazy_static" version = "1.2.0" @@ -120,19 +59,6 @@ dependencies = [ name = "ld_so" version = "0.1.0" -[[package]] -name = "libc" -version = "0.2.51" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "log" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "log" version = "0.4.6" @@ -159,11 +85,6 @@ name = "num-traits" version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "numtoa" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "plain" version = "0.2.3" @@ -173,14 +94,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "posix-regex" version = "0.1.0" -[[package]] -name = "proc-macro2" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "proc-macro2" version = "0.4.28" @@ -189,11 +102,6 @@ dependencies = [ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "quote" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "quote" version = "0.6.12" @@ -218,18 +126,6 @@ dependencies = [ "sc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "rand" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "rand" version = "0.5.6" @@ -251,27 +147,11 @@ name = "rand_core" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "rdrand" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "redox_syscall" version = "0.1.54" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "redox_termios" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "relibc" version = "0.1.0" @@ -291,14 +171,6 @@ dependencies = [ "spin 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "remove_dir_all" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "rustc_version" version = "0.1.7" @@ -315,11 +187,6 @@ dependencies = [ "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "ryu" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "sc" version = "0.2.2" @@ -362,81 +229,11 @@ name = "semver-parser" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "serde" -version = "1.0.90" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "serde_derive 1.0.21 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "serde_derive" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive_internals 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "serde_derive_internals" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", - "synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "serde_json" -version = "1.0.39" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "spin" version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "standalone-quote" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "standalone-syn" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "standalone-quote 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "syn" -version = "0.11.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", - "synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "syn" version = "0.15.32" @@ -447,155 +244,42 @@ dependencies = [ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "synom" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "tempdir" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "termion" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", - "numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "toml" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "unborrow" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "unicode-width" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "unicode-xid" -version = "0.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "unicode-xid" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "vec_map" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "winapi" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - [metadata] -"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" -"checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652" -"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" "checksum cbitset 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e3a9afa72f63942dd7e7f01c67b863ce9df35c523ae10e3dddd3eec8f1e07eac" "checksum cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)" = "5e5f3fee5eeb60324c2781f1e41286bdee933850fff9b3c672587fed5ec58c83" "checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4" -"checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" -"checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" "checksum goblin 0.0.21 (registry+https://github.com/rust-lang/crates.io-index)" = "6a4013e9182f2345c6b7829b9ef6e670bce0dfca12c6f974457ed2160c2c7fe9" -"checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b" "checksum lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a374c89b9db55895453a74c1e38861d9deec0b01b405a82516e9d5de4820dea1" -"checksum libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)" = "bedcc7a809076656486ffe045abeeac163da1b558e963a31e29fbfbeba916917" -"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" "checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" "checksum memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39" "checksum memoffset 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7efacc914ca612fc1022f27b7dc51585e1a9f94c08fd5d322cfd741399260ce0" "checksum num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1" -"checksum numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" "checksum plain 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" -"checksum proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cd07deb3c6d1d9ff827999c7f9b04cdfd66b1b17ae508e14fe47b620f2282ae0" "checksum proc-macro2 0.4.28 (registry+https://github.com/rust-lang/crates.io-index)" = "ba92c84f814b3f9a44c5cfca7d2ad77fa10710867d2bbb1b3d175ab5f47daa12" -"checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" "checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db" -"checksum rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" "checksum rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c618c47cd3ebd209790115ab837de41425723956ad3ce2e6a7f09890947cacb9" "checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" "checksum rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0" -"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" "checksum redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)" = "12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252" -"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" -"checksum remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3488ba1b9a2084d38645c4c08276a1752dcbf2c7130d74f1569681ad5d2799c5" "checksum rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "c5f5376ea5e30ce23c03eb77cbe4962b988deead10910c372b226388b594c084" "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -"checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7" "checksum sc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4ebbb026ba4a707c25caec2db5ef59ad8b41f7ad77cad06257e06229c891f376" "checksum scroll 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2f84d114ef17fd144153d608fba7c446b0145d038985e7a8cc5d08bb0ce20383" "checksum scroll_derive 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)" = "8f1aa96c45e7f5a91cb7fabe7b279f02fea7126239fc40b732316e8b6a2d0fcb" "checksum semver 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)" = "d4f410fedcf71af0345d7607d246e7ad15faaadd49d240ee3b24e5dc21a820ac" "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -"checksum serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)" = "aa5f7c20820475babd2c077c3ab5f8c77a31c15e16ea38687b4c02d3e48680f4" -"checksum serde_derive 1.0.21 (registry+https://github.com/rust-lang/crates.io-index)" = "652bc323d694dc925829725ec6c890156d8e70ae5202919869cb00fe2eff3788" -"checksum serde_derive_internals 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)" = "32f1926285523b2db55df263d2aa4eb69ddcfa7a7eade6430323637866b513ab" -"checksum serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d" "checksum spin 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "ceac490aa12c567115b40b7b7fceca03a6c9d53d5defea066123debc83c5dc1f" -"checksum standalone-quote 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dcedac1d6d98e7e9d1d6e628f5635af9566688ae5f6cea70a3976f495ae8d839" -"checksum standalone-syn 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "115808f5187c07c23cb93eee49d542fae54c6e8285d3a24c6ff683fcde9243db" -"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" -"checksum syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad" "checksum syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)" = "846620ec526c1599c070eff393bfeeeb88a93afa2513fc3b49f1fea84cf7b0ed" -"checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6" -"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" -"checksum termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea" -"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -"checksum toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f" "checksum unborrow 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e92e959f029e4f8ee25d70d15ab58d2b46f98a17bc238b9265ff0c26f6f3d67f" -"checksum unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526" -"checksum unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc" "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" -"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" -"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770" -"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/Cargo.toml b/Cargo.toml index e76a364780..884f51829b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ name = "relibc" crate-type = ["staticlib"] [workspace] -members = ["src/crt0", "src/crti", "src/crtn", "src/ld_so", "cbindgen"] -exclude = ["core_io", "ralloc"] +members = ["src/crt0", "src/crti", "src/crtn", "src/ld_so"] +exclude = ["cbindgen", "core_io", "ralloc"] [build-dependencies] cc = "1.0.25" diff --git a/Makefile b/Makefile index f240ed5f65..4dfeca3e4e 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,7 @@ all: | headers libs clean: $(CARGO) clean + $(CARGO) clean --manifest-path cbindgen/Cargo.toml $(MAKE) -C tests clean rm -rf sysroot diff --git a/cbindgen b/cbindgen index 1160d13c37..e19526e00b 160000 --- a/cbindgen +++ b/cbindgen @@ -1 +1 @@ -Subproject commit 1160d13c374376ae66bd010649c87faf2af8783b +Subproject commit e19526e00b3fe6921b881682147a1fe5d6b64124 diff --git a/include.sh b/include.sh index c6821291c4..44c040770b 100755 --- a/include.sh +++ b/include.sh @@ -7,7 +7,7 @@ set -e include="$(realpath "$1")" cargo build --release --manifest-path cbindgen/Cargo.toml -cbindgen="$(realpath target/release/cbindgen)" +cbindgen="$(realpath cbindgen/target/release/cbindgen)" if [ "$SUPRESS_ALL_THE_ERRORS" = "yes" ]; then echo -e "\e[91mNote: Warnings by cbindgen are suppressed in include.sh.\e[0m" diff --git a/src/header/_aio/cbindgen.toml b/src/header/_aio/cbindgen.toml index 007f687f94..ef89f387ac 100644 --- a/src/header/_aio/cbindgen.toml +++ b/src/header/_aio/cbindgen.toml @@ -2,6 +2,7 @@ sys_includes = [] include_guard = "_AIO_H" language = "C" style = "Tag" +no_default_includes = true [enum] prefix_with_name = true diff --git a/src/header/_fenv/cbindgen.toml b/src/header/_fenv/cbindgen.toml index 35663dc7bc..f30e910488 100644 --- a/src/header/_fenv/cbindgen.toml +++ b/src/header/_fenv/cbindgen.toml @@ -2,6 +2,7 @@ sys_includes = ["stdint.h", "sys/types.h"] include_guard = "_FENV_H" language = "C" style = "Tag" +no_default_includes = true [enum] prefix_with_name = true diff --git a/src/header/_template/cbindgen.toml b/src/header/_template/cbindgen.toml index 37ed9f83d8..6eb7533937 100644 --- a/src/header/_template/cbindgen.toml +++ b/src/header/_template/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_TEMPLATE_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/_wctype/cbindgen.toml b/src/header/_wctype/cbindgen.toml index bd1dd437f1..57aab6a402 100644 --- a/src/header/_wctype/cbindgen.toml +++ b/src/header/_wctype/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_WCTYPE_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/arpa_inet/cbindgen.toml b/src/header/arpa_inet/cbindgen.toml index 5daf2b0e71..ce0807a988 100644 --- a/src/header/arpa_inet/cbindgen.toml +++ b/src/header/arpa_inet/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["stddef.h", "sys/socket.h", "netinet/in.h"] include_guard = "_ARPA_INET_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/assert/cbindgen.toml b/src/header/assert/cbindgen.toml index 8eeb4d6d15..eec2bfb141 100644 --- a/src/header/assert/cbindgen.toml +++ b/src/header/assert/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["bits/assert.h"] include_guard = "_ASSERT_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/ctype/cbindgen.toml b/src/header/ctype/cbindgen.toml index eb9b10d151..ff4f1d59d1 100644 --- a/src/header/ctype/cbindgen.toml +++ b/src/header/ctype/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["bits/ctype.h"] include_guard = "_CTYPE_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/dirent/cbindgen.toml b/src/header/dirent/cbindgen.toml index 27e7e11cef..252f91ffe9 100644 --- a/src/header/dirent/cbindgen.toml +++ b/src/header/dirent/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_DIRENT_H" language = "C" style = "Both" trailer = "#include " +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/dl-tls/cbindgen.toml b/src/header/dl-tls/cbindgen.toml index a29e5ec04c..c09ca25349 100644 --- a/src/header/dl-tls/cbindgen.toml +++ b/src/header/dl-tls/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_DL_TLS_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/dlfcn/cbindgen.toml b/src/header/dlfcn/cbindgen.toml index d56329464a..7e00f6ecdc 100644 --- a/src/header/dlfcn/cbindgen.toml +++ b/src/header/dlfcn/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_DLFCN_H" language = "C" style = "Type" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/errno/cbindgen.toml b/src/header/errno/cbindgen.toml index b1b2ef4144..97769954d3 100644 --- a/src/header/errno/cbindgen.toml +++ b/src/header/errno/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["bits/errno.h"] include_guard = "_ERRNO_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/fcntl/cbindgen.toml b/src/header/fcntl/cbindgen.toml index a3dac2dda6..28019aeebb 100644 --- a/src/header/fcntl/cbindgen.toml +++ b/src/header/fcntl/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_FCNTL_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [defines] "target_os=linux" = "__linux__" diff --git a/src/header/float/cbindgen.toml b/src/header/float/cbindgen.toml index 643616b31e..976cd7b879 100644 --- a/src/header/float/cbindgen.toml +++ b/src/header/float/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/types.h", "bits/float.h"] include_guard = "_FLOAT_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/fnmatch/cbindgen.toml b/src/header/fnmatch/cbindgen.toml index aa95758cb0..1acf898cf0 100644 --- a/src/header/fnmatch/cbindgen.toml +++ b/src/header/fnmatch/cbindgen.toml @@ -1,6 +1,8 @@ include_guard = "_FNMATCH_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/getopt/cbindgen.toml b/src/header/getopt/cbindgen.toml index f43c5f07ec..3d74bd500e 100644 --- a/src/header/getopt/cbindgen.toml +++ b/src/header/getopt/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["unistd.h"] include_guard = "_GETOPT_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/grp/cbindgen.toml b/src/header/grp/cbindgen.toml index cb19d6ec71..8db7bd7da2 100644 --- a/src/header/grp/cbindgen.toml +++ b/src/header/grp/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_GRP_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/inttypes/cbindgen.toml b/src/header/inttypes/cbindgen.toml index e799edad18..81e458051f 100644 --- a/src/header/inttypes/cbindgen.toml +++ b/src/header/inttypes/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_INTTYPES_H" trailer = "#include " language = "C" style = "Type" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/libgen/cbindgen.toml b/src/header/libgen/cbindgen.toml index b3c8f6bd3c..b407f8cc16 100644 --- a/src/header/libgen/cbindgen.toml +++ b/src/header/libgen/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_LIBGEN_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/limits/cbindgen.toml b/src/header/limits/cbindgen.toml index a30a93ab2d..a35e1404eb 100644 --- a/src/header/limits/cbindgen.toml +++ b/src/header/limits/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_LIMITS_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/locale/cbindgen.toml b/src/header/locale/cbindgen.toml index 2d2b2b425c..2a7072bb21 100644 --- a/src/header/locale/cbindgen.toml +++ b/src/header/locale/cbindgen.toml @@ -2,6 +2,8 @@ include_guard = "_LOCALE_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/netdb/cbindgen.toml b/src/header/netdb/cbindgen.toml index 93528e37f2..fdbf6fa894 100644 --- a/src/header/netdb/cbindgen.toml +++ b/src/header/netdb/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_NETDB_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [export.rename] "sockaddr" = "struct sockaddr" diff --git a/src/header/netinet_in/cbindgen.toml b/src/header/netinet_in/cbindgen.toml index 3320c1ab5b..2467174a3b 100644 --- a/src/header/netinet_in/cbindgen.toml +++ b/src/header/netinet_in/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_NETINET_IN_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [export] include = ["sockaddr_in6", "sockaddr_in", "ipv6_mreq"] diff --git a/src/header/netinet_ip/cbindgen.toml b/src/header/netinet_ip/cbindgen.toml index 097dc77f69..11f2e66c4c 100644 --- a/src/header/netinet_ip/cbindgen.toml +++ b/src/header/netinet_ip/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_NETINET_IP_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/netinet_tcp/cbindgen.toml b/src/header/netinet_tcp/cbindgen.toml index d9afff474e..50e883fdcd 100644 --- a/src/header/netinet_tcp/cbindgen.toml +++ b/src/header/netinet_tcp/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_NETINET_TCP_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/poll/cbindgen.toml b/src/header/poll/cbindgen.toml index 4d3ce0250e..db04f56cee 100644 --- a/src/header/poll/cbindgen.toml +++ b/src/header/poll/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_POLL_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/pwd/cbindgen.toml b/src/header/pwd/cbindgen.toml index dfe0c433b3..bce631e414 100644 --- a/src/header/pwd/cbindgen.toml +++ b/src/header/pwd/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["stddef.h", "sys/types.h"] include_guard = "_PWD_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/regex/cbindgen.toml b/src/header/regex/cbindgen.toml index a13c06224d..550385cdb2 100644 --- a/src/header/regex/cbindgen.toml +++ b/src/header/regex/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/types.h"] include_guard = "_REGEX_H" language = "C" style = "Type" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/semaphore/cbindgen.toml b/src/header/semaphore/cbindgen.toml index def4de4a95..8514bfba07 100644 --- a/src/header/semaphore/cbindgen.toml +++ b/src/header/semaphore/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_SEMAPHORE_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sgtty/cbindgen.toml b/src/header/sgtty/cbindgen.toml index e93ce1bf3e..f6f653d6f5 100644 --- a/src/header/sgtty/cbindgen.toml +++ b/src/header/sgtty/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/ioctl.h"] include_guard = "_SGTTY_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/signal/cbindgen.toml b/src/header/signal/cbindgen.toml index 9c8f81a172..32a7a05e61 100644 --- a/src/header/signal/cbindgen.toml +++ b/src/header/signal/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["stdint.h", "sys/types.h", "bits/signal.h"] include_guard = "_SIGNAL_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [defines] "target_os=linux" = "__linux__" diff --git a/src/header/stdio/cbindgen.toml b/src/header/stdio/cbindgen.toml index a610fc3c9c..1be8edc855 100644 --- a/src/header/stdio/cbindgen.toml +++ b/src/header/stdio/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_STDIO_H" trailer = "#include " language = "C" style = "Type" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/stdlib/cbindgen.toml b/src/header/stdlib/cbindgen.toml index 278c2eebac..1f21fbb5ce 100644 --- a/src/header/stdlib/cbindgen.toml +++ b/src/header/stdlib/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_STDLIB_H" trailer = "#include " language = "C" style = "Type" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/string/cbindgen.toml b/src/header/string/cbindgen.toml index c3b61f5aff..bea34fa1bb 100644 --- a/src/header/string/cbindgen.toml +++ b/src/header/string/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["stddef.h", "stdint.h", "strings.h"] include_guard = "_STRING_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/strings/cbindgen.toml b/src/header/strings/cbindgen.toml index d1c7851d7c..20fc84e0ae 100644 --- a/src/header/strings/cbindgen.toml +++ b/src/header/strings/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["stddef.h", "stdint.h"] include_guard = "_STRINGS_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_auxv/cbindgen.toml b/src/header/sys_auxv/cbindgen.toml index 08b9683cb9..44924e2e2c 100644 --- a/src/header/sys_auxv/cbindgen.toml +++ b/src/header/sys_auxv/cbindgen.toml @@ -1,6 +1,8 @@ include_guard = "_SYS_AUXV_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_epoll/cbindgen.toml b/src/header/sys_epoll/cbindgen.toml index a998c82f33..45aac6c16e 100644 --- a/src/header/sys_epoll/cbindgen.toml +++ b/src/header/sys_epoll/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["signal.h"] include_guard = "_SYS_EPOLL_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [defines] "target_os=linux" = "__linux__" diff --git a/src/header/sys_file/cbindgen.toml b/src/header/sys_file/cbindgen.toml index 457c5dfcab..d5d26dfa5b 100644 --- a/src/header/sys_file/cbindgen.toml +++ b/src/header/sys_file/cbindgen.toml @@ -1,6 +1,8 @@ include_guard = "_SYS_FILE_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_ioctl/cbindgen.toml b/src/header/sys_ioctl/cbindgen.toml index 076a5c0abc..fa59f7887a 100644 --- a/src/header/sys_ioctl/cbindgen.toml +++ b/src/header/sys_ioctl/cbindgen.toml @@ -1,6 +1,8 @@ include_guard = "_SYS_IOCTL_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [defines] "target_os=linux" = "__linux__" diff --git a/src/header/sys_mman/cbindgen.toml b/src/header/sys_mman/cbindgen.toml index 2b34e52f65..720c9641ff 100644 --- a/src/header/sys_mman/cbindgen.toml +++ b/src/header/sys_mman/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_SYS_MMAN_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [defines] "target_os=linux" = "__linux__" diff --git a/src/header/sys_resource/cbindgen.toml b/src/header/sys_resource/cbindgen.toml index 3cc67a2d5b..33c1b7b4db 100644 --- a/src/header/sys_resource/cbindgen.toml +++ b/src/header/sys_resource/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_SYS_RESOURCE_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_select/cbindgen.toml b/src/header/sys_select/cbindgen.toml index 2dc2a15bc6..24d911ce0c 100644 --- a/src/header/sys_select/cbindgen.toml +++ b/src/header/sys_select/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["bits/sys/select.h", "sys/time.h"] include_guard = "_SYS_SELECT_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_socket/cbindgen.toml b/src/header/sys_socket/cbindgen.toml index d28e67a4f8..1222665d7e 100644 --- a/src/header/sys_socket/cbindgen.toml +++ b/src/header/sys_socket/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_SYS_SOCKET_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [defines] "target_os=linux" = "__linux__" diff --git a/src/header/sys_stat/cbindgen.toml b/src/header/sys_stat/cbindgen.toml index 921ba6d19b..345db1f4ed 100644 --- a/src/header/sys_stat/cbindgen.toml +++ b/src/header/sys_stat/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_SYS_STAT_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_statvfs/cbindgen.toml b/src/header/sys_statvfs/cbindgen.toml index a3524d6385..5ba0ede3e1 100644 --- a/src/header/sys_statvfs/cbindgen.toml +++ b/src/header/sys_statvfs/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/types.h"] include_guard = "_SYS_STATVFS_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_time/cbindgen.toml b/src/header/sys_time/cbindgen.toml index d4f5536798..535c6a246b 100644 --- a/src/header/sys_time/cbindgen.toml +++ b/src/header/sys_time/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_SYS_TIME_H" language = "C" trailer = "#include " style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_timeb/cbindgen.toml b/src/header/sys_timeb/cbindgen.toml index 1f27a3625a..95e95fd8fb 100644 --- a/src/header/sys_timeb/cbindgen.toml +++ b/src/header/sys_timeb/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/types.h"] include_guard = "_SYS_TIMEB_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_times/cbindgen.toml b/src/header/sys_times/cbindgen.toml index 4aa7a766c9..fe95544def 100644 --- a/src/header/sys_times/cbindgen.toml +++ b/src/header/sys_times/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/types.h"] include_guard = "_SYS_TIMES_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_uio/cbindgen.toml b/src/header/sys_uio/cbindgen.toml index a97ff44987..3297115bc8 100644 --- a/src/header/sys_uio/cbindgen.toml +++ b/src/header/sys_uio/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_SYS_UIO_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_un/cbindgen.toml b/src/header/sys_un/cbindgen.toml index 8a6d7cdf4e..a0f6054d94 100644 --- a/src/header/sys_un/cbindgen.toml +++ b/src/header/sys_un/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/socket.h"] include_guard = "_SYS_UN_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [export] include = ["sockaddr_un"] diff --git a/src/header/sys_utsname/cbindgen.toml b/src/header/sys_utsname/cbindgen.toml index 967c89dc9a..5d91813fe4 100644 --- a/src/header/sys_utsname/cbindgen.toml +++ b/src/header/sys_utsname/cbindgen.toml @@ -1,6 +1,8 @@ include_guard = "_SYS_UTSNAME_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/sys_wait/cbindgen.toml b/src/header/sys_wait/cbindgen.toml index 7396a4319f..7b39e2b8a9 100644 --- a/src/header/sys_wait/cbindgen.toml +++ b/src/header/sys_wait/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_SYS_WAIT_H" trailer = "#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/termios/cbindgen.toml b/src/header/termios/cbindgen.toml index 1cc6fde37c..638af3b3aa 100644 --- a/src/header/termios/cbindgen.toml +++ b/src/header/termios/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["stdint.h"] include_guard = "_TERMIOS_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/time/cbindgen.toml b/src/header/time/cbindgen.toml index 3dfc4c4520..61af8ce831 100644 --- a/src/header/time/cbindgen.toml +++ b/src/header/time/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = ["sys/types.h", "stdint.h", "stddef.h"] include_guard = "_TIME_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/unistd/cbindgen.toml b/src/header/unistd/cbindgen.toml index 585796ed34..f8450e0c69 100644 --- a/src/header/unistd/cbindgen.toml +++ b/src/header/unistd/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_UNISTD_H" trailer = "#include \n#include " language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/utime/cbindgen.toml b/src/header/utime/cbindgen.toml index 379382d804..a415b33c4b 100644 --- a/src/header/utime/cbindgen.toml +++ b/src/header/utime/cbindgen.toml @@ -2,6 +2,8 @@ sys_includes = [] include_guard = "_UTIME_H" language = "C" style = "Tag" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true diff --git a/src/header/wchar/cbindgen.toml b/src/header/wchar/cbindgen.toml index 1deb8f6475..853cfd27e3 100644 --- a/src/header/wchar/cbindgen.toml +++ b/src/header/wchar/cbindgen.toml @@ -3,6 +3,8 @@ include_guard = "_WCHAR_H" header = "#include " language = "C" style = "Type" +no_includes = true +cpp_compat = true [enum] prefix_with_name = true