Skip to content

Commit 9f756f3

Browse files
tgross35AkhilTThomas
authored andcommitted
Merge pull request rust-lang#4048 from tgross35/backport-yam
[0.2] Backports
2 parents 40eb3ed + 7fd5bb5 commit 9f756f3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,9 @@ fn test_solarish(target: &str) {
10561056
// const-ness issues
10571057
"settimeofday" | "sethostname" => true,
10581058

1059+
// FIXME(1.0): https://github.com/rust-lang/libc/issues/1272
1060+
"fexecve" => true,
1061+
10591062
// Solaris-different
10601063
"getpwent_r" | "getgrent_r" | "updwtmpx" if is_illumos => true,
10611064
"madvise" | "mprotect" if is_illumos => true,

src/unix/solarish/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,11 @@ s! {
439439
pub aio_errno: c_int,
440440
}
441441

442+
pub struct aio_result_t {
443+
pub aio_return: ::ssize_t,
444+
pub aio_errno: ::c_int,
445+
}
446+
442447
pub struct exit_status {
443448
e_termination: c_short,
444449
e_exit: c_short,

0 commit comments

Comments
 (0)