Age | Commit message (Collapse) | Author |
|
584: Replace homu with bors-ng r=posborne
@homu has served us well, but is unmaintained. @bors will serve us in
its stead.
Fixes https://github.com/nix-rust/nix/issues/580
|
|
@homu has served us well, but is unmaintained. bors will serve us in
its stead.
Fixes https://github.com/nix-rust/nix/issues/580
|
|
Merge New CI Infrastructure Based on Trust/Cross Into Master
See discussion on https://github.com/nix-rust/nix/pull/528. This PR is to track the final decision of whether we are ready to merge the new CI infrastructure (and related bug fixes) back into master. Initially, we know that the branch is not ready to merge (as there are still failing tests).
This PR acts as a single point of reference to get the current status of how close we are to merging things back into master. A number of issues with "TRUST CI" in the title have been created for the work that appears to be required to get us to the point where this branch can be merged.
|
|
|
|
Some entries were erroneously listed under the 0.8.0 release.
|
|
We need to raise it up to 1.13 because our test infrastructure requires it
|
|
|
|
|
|
Fixes https://github.com/nix-rust/nix/issues/529, also refer to
https://github.com/nix-rust/nix/issues/529 which first added this
for the old CI infrastructure.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Removed:
- mips64-unknown-linux-gnu
- mips64el-unknown-linux-gnu
- arm-unknown-linux-musleabi
|
|
Added:
- arm-unknown-linux-gnueabi
- arm-unknown-linux-musleabi
Removed:
- powerpc64-unknown-linux-gnu (not suppported by nix)
- mips64el-unknown-linux-gnu (not suppported by nix)
- mipsel-unknown-linux-gnu (not suppported by nix)
|
|
|
|
|
|
|
|
|
|
|
|
Cargo.toml: restore upstream libc remote
My previous pull request was merged too early and contained
my own libc fork with outstanding pull requests. As the pull requests
are now merged, this commit restores the libc git repo.
|
|
My previous pull request was merged too early and contained
my own libc fork with outstanding pull requests. As the pull requests
are now merged, this commit restores the libc git repo.
|
|
add support for openat, fstatat, readlink, readlinkat
|
|
|
|
|
|
|
|
Actually mark mmap and related functions as `unsafe`
The nix::sys::mman::mmap documentation says
> Calls to mmap are inherently unsafe, so they must be made in an unsafe
block.
however, the function was not actually marked unsafe.
* `munmap` should also be `unsafe` for obvious reasons.
* `madvise` should be `unsafe` because of the `MADV_DONTNEED` flag.
* `mlock` was already marked `unsafe`
* `munlock` and `msync` don't strictly need to be `unsafe` despite
taking pointers AFAICT, but are marked `unsafe` for consistency and in
case they add additional flags in the future.
[breaking-change]
|
|
Add section headings, commenting out unused ones.
|
|
|
|
The nix::sys::mman::mmap documentation says
> Calls to mmap are inherently unsafe, so they must be made in an unsafe
block.
however, the function was not actually marked unsafe.
* `munmap` should also be `unsafe` for obvious reasons.
* `madvise` should be `unsafe` because of the MADV_DONTNEED flag.
* `mlock` was already marked `unsafe`
* `munlock` and `msync` don't strictly need to be `unsafe` despite
taking pointers AFAICT, but are marked `unsafe` for consistency and in
case they add additional flags in the future.
|
|
Remove revents from PollFd::new
I could've used a `0i16`here as well but I liked the better semantics of `empty()`.
|
|
Bump to v0.8.1-pre
|
|
revents is an output field so regardless of what value it is set to it
will be overwritten by many of the function calls that take a PollFd.
The only value that makes sense for the caller to pass in in
`EventFlags::empty()` so we just hardcode that instead of making the
caller do it.
|
|
|
|
Release v0.8.0
closes #519
|
|
closes #519
|
|
fcntl: Expose FcntlArg variants at the module level
This allows importing them directly from `nix::fcntl` which is more
ergonomic than needing to use them via `FcntlArg`.
|
|
This allows importing them directly from `nix::fcntl` which is more
ergonomic than needing to use them via `FcntlArg`.
|
|
fcntl: Support getting and setting pipe size on Linux
|