Skip to content

Commit

Permalink
issue-2214.rs: lgamma is lgamma on vxWorks
Browse files Browse the repository at this point in the history
ignore process-envs.rs and process-remove-from-env.rs as there is no 'env' on vxWorks
  • Loading branch information
bpangWR committed Aug 1, 2019
1 parent 8a58268 commit 8d93778
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/ui/issues/issue-2214.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ mod m {

#[link_name = "m"]
extern {
#[cfg(any(unix, target_os = "cloudabi"))]
#[cfg(any(all(unix, not(target_os = "vxworks")), target_os = "cloudabi"))]
#[link_name="lgamma_r"]
pub fn lgamma(n: c_double, sign: &mut c_int) -> c_double;
#[cfg(windows)]
#[link_name="lgamma"]
pub fn lgamma(n: c_double, sign: &mut c_int) -> c_double;
#[cfg(target_os = "vxworks")]
#[link_name="lgamma"]
pub fn lgamma(n: c_double, sign: &mut c_int) -> c_double;
}
}

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/process/process-envs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// ignore-cloudabi no processes
// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-vxworks no 'env'

use std::process::Command;
use std::env;
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/process/process-remove-from-env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// ignore-cloudabi no processes
// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-vxworks no 'env'

use std::process::Command;
use std::env;
Expand Down

0 comments on commit 8d93778

Please sign in to comment.