issue-2214.rs: lgamma is lgamma on vxWorks

ignore process-envs.rs and process-remove-from-env.rs as there is no 'env' on vxWorks
This commit is contained in:
Baoshan Pang 2019-07-31 17:09:07 -07:00
parent 8a58268b5a
commit 8d9377822d
3 changed files with 6 additions and 1 deletions

View file

@ -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;
}
}

View file

@ -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;

View file

@ -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;