Commit Graph

  • 74c0e52283 Make preadv and pwritev weak on macOS and ios. Dan Gohman 2021-06-30 21:10:11 -07:00
  • 2d91027f3a (cargo-release) start next development iteration 0.15.4-alpha.0 Dan Gohman 2021-06-30 18:34:59 -07:00
  • 7d0fb2d11b (cargo-release) version 0.15.3 Dan Gohman 2021-06-30 18:34:38 -07:00
  • 4b5d7345c5 Temporarily revert the benchmark commit. Dan Gohman 2021-06-30 18:32:47 -07:00
  • 2ed7260969 Update to unsafe-io 0.7.1. Dan Gohman 2021-06-30 18:31:39 -07:00
  • 94330802aa (cargo-release) start next development iteration 0.15.3-alpha.0 Dan Gohman 2021-06-30 11:37:10 -07:00
  • dd8ff42dbf (cargo-release) version 0.15.2 Dan Gohman 2021-06-30 11:35:43 -07:00
  • 6b93fa015b Expose PollFd's BorrowedFd constructor for linux_raw too. Dan Gohman 2021-06-30 11:28:57 -07:00
  • 4be96026e9 Expose PollFd's constructor that takes a BorrowedFd directly. Dan Gohman 2021-06-30 11:22:25 -07:00
  • e0f29d2cc1 (cargo-release) start next development iteration 0.15.2-alpha.0 Dan Gohman 2021-06-30 08:57:31 -07:00
  • eb998217ba (cargo-release) version 0.15.1 Dan Gohman 2021-06-30 08:57:02 -07:00
  • 40b21a3469 Move rdadvise back to fs and rename it fcntl_rdadvise. Dan Gohman 2021-06-30 08:49:07 -07:00
  • feb2857c32 (cargo-release) start next development iteration 0.15.1-alpha.0 Dan Gohman 2021-06-29 22:43:15 -07:00
  • 2d6f15c134 (cargo-release) version 0.15.0 Dan Gohman 2021-06-29 22:42:42 -07:00
  • ada924e0ac Split accept into accept and acceptfrom. Dan Gohman 2021-06-29 22:08:14 -07:00
  • 0938afc95a Fix an unused import warning. Dan Gohman 2021-06-29 22:07:52 -07:00
  • 042981c1b7 Fix the Unix-domain socket test on FreeBSD. Dan Gohman 2021-06-29 21:00:56 -07:00
  • 140a5fd00c Disable an unsupported mknodat test on FreeBSD. Dan Gohman 2021-06-29 20:46:40 -07:00
  • 09fcb49eab Ensure that fadvise doesn't fail on offset overflow on FreeBSD, per POSIX. Dan Gohman 2021-06-29 20:17:38 -07:00
  • d009acc528 Simple benchmarking. Dan Gohman 2021-06-24 23:04:46 -07:00
  • fc41697a00 Rewrite the README, emphasizing configurable backends. Dan Gohman 2021-06-29 19:43:19 -07:00
  • 3d58f3465a Comment out the use of RUSTFLAGS in the install-rust action. Dan Gohman 2021-06-29 16:18:28 -07:00
  • 6bf5120a66 Implement more aarch64 support. Dan Gohman 2021-06-29 10:25:26 -07:00
  • 802ddd31d9 Add linux_raw support for Rust stable, using out-of-line asm. Dan Gohman 2021-06-29 08:29:29 -07:00
  • 05621d7d14 Add a cargo:cargo:rerun-if-env-changed to build.rs to avoid spurious rebuilds. Dan Gohman 2021-06-29 08:30:11 -07:00
  • 3bdd407cf9 Fix the syntax for doc aliases. Dan Gohman 2021-06-29 06:18:17 -07:00
  • e07d5c3a4f Rename posix_fallocate to fallocate. Dan Gohman 2021-06-29 06:16:36 -07:00
  • c3c96c49a2 Add a doc alias for cwd for AT_FDCWD. Dan Gohman 2021-06-29 06:15:41 -07:00
  • a281bc23f6 Tweak wording in README.md. Dan Gohman 2021-06-29 06:15:19 -07:00
  • add9175549 Fix the error handling for libc posix_fadvise. Dan Gohman 2021-06-28 19:53:02 -07:00
  • 8068e89fc7 Don't set O_LARGEFILE when O_PATH is also set. Dan Gohman 2021-06-28 19:05:37 -07:00
  • d9fe6830fe Fix a few minor clippy lints. Dan Gohman 2021-06-28 16:48:24 -07:00
  • 5c78e330a2 Suppress clippy warning about IPv6 constructors taking lots of parameters. Dan Gohman 2021-06-28 16:17:16 -07:00
  • d9a43fed4f Reformat a comment. Dan Gohman 2021-06-28 16:13:55 -07:00
  • 4176b8524e Linux vDSO support. Dan Gohman 2021-06-28 06:48:37 -07:00
  • 68eb776190 Use inlateout in asm where appropriate. Dan Gohman 2021-06-28 08:21:21 -07:00
  • 63047a47e9 Tidy up redundant &s. Dan Gohman 2021-06-28 06:45:35 -07:00
  • 00855459bd Mention the avoidance of the y2038 bug in the README.md. Dan Gohman 2021-06-28 07:38:45 -07:00
  • 473a11135a Detect if we're running as x32, which is unsupported. Dan Gohman 2021-06-28 07:39:32 -07:00
  • 59898b781c Use assume_init() to consume a MaybeUninit value. Dan Gohman 2021-06-28 07:43:03 -07:00
  • febbaca5c1 Reorganize the codebase to handle linux_raw and libc consistently. Dan Gohman 2021-06-24 23:34:41 -07:00
  • 5fce252d43 (cargo-release) start next development iteration 0.14.2-alpha.0 Dan Gohman 2021-06-24 23:36:26 -07:00
  • 245050f9cc (cargo-release) version 0.14.1 Dan Gohman 2021-06-24 23:35:59 -07:00
  • cc8c0aafe0 Avoid allocating temporary CStrings in common cases. Dan Gohman 2021-06-24 18:50:51 -07:00
  • 8c520f3187 Fix compilation on wasm32-wasi. Dan Gohman 2021-06-24 17:59:37 -07:00
  • 3b321d64db Doc cleanups. Dan Gohman 2021-06-24 17:58:56 -07:00
  • e175d5bb7f Move libc's sockaddr.rs and sockaddr_header.rs into crate::libc. Dan Gohman 2021-06-24 16:52:19 -07:00
  • 505fbc4855 Remove obsolete comments. Dan Gohman 2021-06-24 16:40:11 -07:00
  • 469bdf0988 Don't test for file position i64::MAX, which is theoretically valid. Dan Gohman 2021-06-24 13:29:46 -07:00
  • 78f114a46a Disable invalid-offsets tests on macos/ios which get SIGXFSZ. Dan Gohman 2021-06-24 13:24:47 -07:00
  • 4511ad8a58 Don't pass unused zero operands to x86 system calls. Dan Gohman 2021-06-24 12:58:25 -07:00
  • 0b556ab154 Use the send/recv system calls on architectures that have them. Dan Gohman 2021-06-24 12:47:13 -07:00
  • 9920fd7cef Automatically add O_LARGEFILE to open* syscalls on 32-bit platforms. Dan Gohman 2021-06-24 12:46:50 -07:00
  • 4cdcd26caf Fix how the 64-bit offset is passed to 32-bit Linux llseek. Dan Gohman 2021-06-24 12:44:29 -07:00
  • 48b657dcbb Cleanup lifetime parameters which are no longer needed. Dan Gohman 2021-06-24 11:23:00 -07:00
  • cd23c30941 Use #[must_use] on functions returning NanosleepRelativeResult. Dan Gohman 2021-06-24 11:20:32 -07:00
  • e4c1b0ebce rustfmt Dan Gohman 2021-06-24 11:16:21 -07:00
  • f8517cc4bc Use explicit types with MaybeUninit. Dan Gohman 2021-06-24 11:15:02 -07:00
  • b71b79bff5 Replace negone_err and negative_err with ret_* conversion functions. Dan Gohman 2021-06-24 10:58:56 -07:00
  • 7ecc855f00 Replace zero_ok into ret/syscall_ret conversion routines. Dan Gohman 2021-06-24 10:34:15 -07:00
  • 64f6d3ccd6 Impl AsFd for fs::Dir. Dan Gohman 2021-06-24 10:20:12 -07:00
  • 146765b52a Start factoring out libc conversion routines. Dan Gohman 2021-06-24 10:05:51 -07:00
  • ae0473723d Don't manually check for offset conversion overflow. Dan Gohman 2021-06-24 07:47:48 -07:00
  • 3e219d6278 Minor doc comment fixes. Dan Gohman 2021-06-24 06:31:17 -07:00
  • d3e87aad3a (cargo-release) start next development iteration 0.14.1-alpha.0 Dan Gohman 2021-06-23 22:37:20 -07:00
  • 57b167e721 (cargo-release) version 0.14.0 Dan Gohman 2021-06-23 22:36:50 -07:00
  • 185f5d8905 Update to io-lifetimes 0.2.0. Dan Gohman 2021-06-23 22:28:04 -07:00
  • 54bde7467a (cargo-release) start next development iteration 0.13.2-alpha.0 Dan Gohman 2021-06-23 11:00:36 -07:00
  • 91237eced9 (cargo-release) version 0.13.1 Dan Gohman 2021-06-23 11:00:13 -07:00
  • 0b639a5093 Make the Ip*Addr accessors #[inline]. Dan Gohman 2021-06-23 10:58:14 -07:00
  • 9e97ef135f Implement mmap and munmap. Dan Gohman 2021-06-23 10:38:10 -07:00
  • 8e50c895b1 Make non-public functions non-pub, and fix a missing Linux pipe wrapper. Dan Gohman 2021-06-23 09:14:55 -07:00
  • c2bf7e6f50 Implement mknodat. Dan Gohman 2021-06-23 08:40:15 -07:00
  • d9d591bfcf Fix a typo in a comment. Dan Gohman 2021-06-23 06:11:54 -07:00
  • e94d9685ce rustfmt doc comments. Dan Gohman 2021-06-22 21:17:27 -07:00
  • 3146523ea6 Fix compilation errors on netbsd and wasi. Dan Gohman 2021-06-22 21:16:32 -07:00
  • 474f55fc11 Make some imports more consistent between the libc and linux_raw code. Dan Gohman 2021-06-22 21:09:20 -07:00
  • 70ce34f0f6 Add #[inline] to more trivial wrapper functions. Dan Gohman 2021-06-22 21:05:42 -07:00
  • f59baddfd2 Add some minimal tests for IPv4 and IPv6 sockets. Dan Gohman 2021-06-22 20:54:16 -07:00
  • d435f9fdaf Fix a typo in a comment. Dan Gohman 2021-06-22 20:30:17 -07:00
  • f423c676e5 Make the SocketAddr encode functions private. Dan Gohman 2021-06-22 20:28:59 -07:00
  • 395fe2593b Tidy up a documentation comment. Dan Gohman 2021-06-22 20:28:46 -07:00
  • 49ec9965e0 Add a few more documentation comments. Dan Gohman 2021-06-22 17:34:38 -07:00
  • 561ccc1b45 Add a comment about why tests/unix.rs doesn't run on macOS. Dan Gohman 2021-06-22 17:30:04 -07:00
  • c90d353a52 (cargo-release) start next development iteration 0.13.1-alpha.0 Dan Gohman 2021-06-22 10:26:19 -07:00
  • 229daf8c61 (cargo-release) version 0.13.0 Dan Gohman 2021-06-22 10:25:57 -07:00
  • 94c63300b6 Enable Cirrus CI. Dan Gohman 2021-06-22 05:59:24 -07:00
  • 5fc1d471e2 Disable tests/unix.rs on macOS for now. Dan Gohman 2021-06-22 05:59:13 -07:00
  • d19504ed84 Add a few more tests. Dan Gohman 2021-06-21 17:57:57 -07:00
  • 40495e8127 Use fstatfs in the basic file test. Dan Gohman 2021-06-21 17:54:46 -07:00
  • 0fa78571e9 Add tests for stdin/stdout/stderr. Dan Gohman 2021-06-21 17:54:34 -07:00
  • 9f691d1602 Add some more doc comments. Dan Gohman 2021-06-21 17:11:29 -07:00
  • 42eae34c9b Tidy up some documentation comments. Dan Gohman 2021-06-21 17:01:11 -07:00
  • db7ff3879b Add a basic Unix-domain socket test, and fix some bugs it uncovered. Dan Gohman 2021-06-21 15:14:17 -07:00
  • b402bba093 Fix error reporting in the nanosleep functions. Dan Gohman 2021-06-21 11:44:49 -07:00
  • b512bb1bb5 Tidy up imports. Dan Gohman 2021-06-21 11:07:07 -07:00
  • 83afee980b Add a test for errors in the nanosleep family of functions. Dan Gohman 2021-06-21 10:49:22 -07:00
  • 9280a78e72 Fix typos in doc comments. Dan Gohman 2021-06-21 10:34:11 -07:00
  • 170d842abf Preserve clock_nanosleep's error code. Dan Gohman 2021-06-21 10:24:36 -07:00
  • 2ac04e5c95 (cargo-release) start next development iteration 0.12.1-alpha.0 Dan Gohman 2021-06-21 10:16:42 -07:00