Rollup merge of #63179 - BaoshanPang:testcases, r=alexcrichton
update test cases for vxWorks 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:
commit
f5e2390e2f
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user