Skip to content

Commit 33bfefe

Browse files
committed
Merge pull request rust-lang#149 from alexcrichton/more-tested
Linkify more docs, add more tested triples
2 parents f54b9c9 + 4ff646b commit 33bfefe

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,13 @@ Tested:
105105
* [`arm-unknown-linux-gnueabihf`](https://doc.rust-lang.org/libc/arm-unknown-linux-gnueabihf/libc)
106106
* [`arm-linux-androideabi`](https://doc.rust-lang.org/libc/arm-linux-androideabi/libc)
107107
(Android)
108+
* [`x86_64-unknown-freebsd`](http://rust-lang-nursery.github.io/libc/x86_64-unknown-freebsd/libc)
109+
* [`x86_64-unknown-openbsd`](http://rust-lang-nursery.github.io/libc/x86_64-unknown-openbsd/libc)
110+
* [`x86_64-rumprun-netbsd`](http://rust-lang-nursery.github.io/libc/x86_64-unknown-netbsd/libc)
108111

109112
The following may be supported, but are not guaranteed to always work:
110113

111-
* `x86_64-unknown-freebsd`
112114
* `i686-unknown-freebsd`
113-
* `x86_64-unknown-bitrig`
114-
* `x86_64-unknown-dragonfly`
115-
* `x86_64-unknown-openbsd`
116-
* `x86_64-unknown-netbsd`
115+
* [`x86_64-unknown-bitrig`](http://rust-lang-nursery.github.io/libc/x86_64-unknown-bitrig/libc)
116+
* [`x86_64-unknown-dragonfly`](http://rust-lang-nursery.github.io/libc/x86_64-unknown-dragonfly/libc)
117+
* [`x86_64-unknown-netbsd`](http://rust-lang-nursery.github.io/libc/x86_64-unknown-netbsd/libc)

src/unix/notbsd/linux/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,12 @@ pub const EFD_SEMAPHORE: ::c_int = 0x1;
384384

385385
pub const NCCS: usize = 32;
386386

387-
pub const CLONE_NEWUTS: ::c_uint = 0x04000000;
388-
pub const CLONE_NEWIPC: ::c_uint = 0x08000000;
389-
pub const CLONE_NEWUSER: ::c_uint = 0x10000000;
390-
pub const CLONE_NEWPID: ::c_uint = 0x20000000;
391-
pub const CLONE_NEWNET: ::c_uint = 0x40000000;
392-
pub const CLONE_IO: ::c_uint = 0x80000000;
387+
pub const CLONE_NEWUTS: ::c_int = 0x04000000;
388+
pub const CLONE_NEWIPC: ::c_int = 0x08000000;
389+
pub const CLONE_NEWUSER: ::c_int = 0x10000000;
390+
pub const CLONE_NEWPID: ::c_int = 0x20000000;
391+
pub const CLONE_NEWNET: ::c_int = 0x40000000;
392+
pub const CLONE_IO: ::c_int = 0x80000000;
393393

394394
extern {
395395
pub fn shm_open(name: *const c_char, oflag: ::c_int,

src/unix/notbsd/linux/other/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ extern {
424424
serv: *mut ::c_char,
425425
sevlen: ::socklen_t,
426426
flags: ::c_int) -> ::c_int;
427-
pub fn eventfd(init: ::c_int, flags: ::c_int) -> ::c_int;
427+
pub fn eventfd(init: ::c_uint, flags: ::c_int) -> ::c_int;
428428
pub fn ptrace(request: ::c_uint, ...) -> ::c_long;
429429
}
430430

0 commit comments

Comments
 (0)