Commit Graph

99 Commits

Author SHA1 Message Date
Dan Gohman afdeb8630c Re-export ctypes.
Since linux-raw-sys uses ctypes types in its public APIs, re-export
ctypes so that users can use it directly instead of having to redo
the no-std incantations.
2021-11-02 07:22:03 -07:00
Mek101 7e84e621ca Add BLKSSZGET and BLKPBSZGET ioctl arguments (#8)
* Add BLKPBSZGET for x86_64

* Add BLKPBSZGET for everyone but sparc

* Add BLKSSZGET for everyone but sparc

* Update reference bindings

* Fix BLKSSZGET and BLKPBSZGET included in sparc bindings

* Add BLKSSZGET and BLKPBSZGET to sparc
2021-11-02 07:19:02 -07:00
Dan Gohman e60f93ca1a (cargo-release) start next development iteration 0.0.30-alpha.0 2021-10-04 06:25:13 -07:00
Dan Gohman 548d78a26b (cargo-release) version 0.0.29 2021-10-04 06:24:57 -07:00
Dan Gohman bb4f3f3b9c Add <linux/sched.h>. 2021-10-04 06:09:02 -07:00
Dan Gohman 9bd63f3e21 (cargo-release) start next development iteration 0.0.29-alpha.0 2021-09-20 05:56:18 -07:00
Dan Gohman ad6082263c (cargo-release) version 0.0.28 2021-09-20 05:56:04 -07:00
Dan Gohman eb27d30ad4 Define ARCH_SET_FS for x86 and x86_64. 2021-09-20 05:51:48 -07:00
Dan Gohman 297485db96 (cargo-release) start next development iteration 0.0.28-alpha.0 2021-09-20 05:21:50 -07:00
Dan Gohman 4df033b0c7 (cargo-release) version 0.0.27 2021-09-20 05:21:35 -07:00
Dan Gohman b9a73148b4 Define the user_desc struct. 2021-09-20 05:20:29 -07:00
Dan Gohman 382f8d3f76 (cargo-release) start next development iteration 0.0.27-alpha.0 2021-09-18 07:08:33 -07:00
Dan Gohman c4921b37f5 (cargo-release) version 0.0.26 2021-09-18 07:08:17 -07:00
Dan Gohman 53337176d3 Define struct linger. 2021-09-18 07:07:43 -07:00
Dan Gohman 5963314e2f (cargo-release) start next development iteration 0.0.26-alpha.0 2021-09-18 05:16:47 -07:00
Dan Gohman 0db931c232 (cargo-release) version 0.0.25 2021-09-18 05:16:32 -07:00
Dan Gohman e077e6072a Add <linux/tcp.h>. 2021-09-18 05:16:05 -07:00
Dan Gohman e86d9287fe (cargo-release) start next development iteration 0.0.25-alpha.0 2021-09-16 08:07:34 -07:00
Dan Gohman 7114ac575d (cargo-release) version 0.0.24 2021-09-16 08:07:17 -07:00
Dan Gohman 472b66818e Add the membarrier constants. 2021-09-16 08:06:42 -07:00
Dan Gohman 52bc174230 (cargo-release) start next development iteration 0.0.24-alpha.0 2021-09-01 11:18:44 -07:00
Dan Gohman 9c490c7b25 (cargo-release) version 0.0.23 2021-09-01 11:18:28 -07:00
Dan Gohman 0fd4139b03 Add the Linux uname types. 2021-09-01 11:18:11 -07:00
Dan Gohman 6144887a27 (cargo-release) start next development iteration 0.0.23-alpha.0 2021-09-01 09:16:54 -07:00
Dan Gohman 83b0168aaa (cargo-release) version 0.0.22 2021-09-01 09:16:37 -07:00
Dan Gohman 244ed8f93e Add the Linux auxval constants. 2021-09-01 08:23:25 -07:00
Dan Gohman 8752ebbf39 (cargo-release) start next development iteration 0.0.22-alpha.0 2021-08-25 10:43:21 -07:00
Dan Gohman 76c0ef3e37 (cargo-release) version 0.0.21 2021-08-25 10:43:08 -07:00
Dan Gohman dce54115af Add a "std" feature to be friendlier for cargo nono. 2021-08-25 10:37:48 -07:00
Dan Gohman 403c2ea315 (cargo-release) start next development iteration 0.0.21-alpha.0 2021-08-25 10:06:30 -07:00
Dan Gohman ba987830a6 (cargo-release) version 0.0.20 2021-08-25 10:06:15 -07:00
bjorn3 b110a1900a Use cty instead of libc for c types 2021-08-23 04:31:59 -07:00
bjorn3 963b82965b Add #![no_std] support 2021-08-23 04:31:59 -07:00
bjorn3 ac00127984 Use #[cfg(any())] in lib.rs 2021-08-23 04:31:59 -07:00
bjorn3 181585dc3a Add CI (#3)
* Do a partial clone of linux

This saves a lot of disk space. The git dir for the partial clone after
all relevant versions have been checked out is 1.7GB.

* Do a sparse checkout of linux

This saves a lot of disk space. The git dir for the partial clone after all relevant versions have been checked out is <800MB.

* Fix typo

* Fix checkout on CI

* Add CI

* Make generation deterministic

Directory iteration order is non-deterministic. In practice it depends
on the exact order in which dir entries have been created. Sort the
output of fs::read_dir to ensure that generation is deterministic across
systems.

* Check for linux/.git

* Build generator in release mode

* Switch to cargo check
2021-08-22 07:47:08 -07:00
Dan Gohman 23b89db63a Rename posish to rsix. 2021-08-17 21:49:33 -07:00
Dan Gohman 309f205796 (cargo-release) start next development iteration 0.0.20-alpha.0 2021-08-11 09:30:56 -07:00
Dan Gohman 308e79bb37 (cargo-release) version 0.0.19 2021-08-11 09:30:41 -07:00
Dan Gohman 13a9b81c9c Update to bindgen 0.59. 2021-08-10 17:29:07 -07:00
Dan Gohman 27369b7383 (cargo-release) start next development iteration 0.0.19-alpha.0 2021-07-30 13:56:06 -05:00
Dan Gohman 0f300d6870 (cargo-release) version 0.0.18 2021-07-30 13:55:43 -05:00
Dan Gohman df8888be8b Add defines for use with timerfd_create. 2021-07-30 13:55:02 -05:00
Dan Gohman 785dc3c472 (cargo-release) start next development iteration 0.0.18-alpha.0 2021-07-19 09:45:29 -07:00
Dan Gohman f3f422ad8e (cargo-release) version 0.0.17 2021-07-19 09:44:58 -07:00
Dan Gohman 306d936d0f Define EPOLLET and EPOLLONESHOT. 2021-07-19 09:44:20 -07:00
Dan Gohman 2162a1c221 (cargo-release) start next development iteration 0.0.17-alpha.0 2021-07-12 14:19:24 -07:00
Dan Gohman 1a0a430966 (cargo-release) version 0.0.16 2021-07-12 14:19:08 -07:00
Dan Gohman d78c7ace07 Define EPOLLEXCLUSIVE and EPOLLWAKEUP. 2021-07-12 14:18:44 -07:00
Dan Gohman 4060aecf6d (cargo-release) start next development iteration 0.0.16-alpha.0 2021-07-12 13:47:57 -07:00
Dan Gohman 85149a309e (cargo-release) version 0.0.15 2021-07-12 13:47:40 -07:00