auto merge of #10336 : ksh8281/rust/fix_rpass_core-run-destroy_for_android, r=yichoi
fix rpass core-run-destroy for android
This commit is contained in:
commit
03f30515f4
@ -37,9 +37,12 @@ fn test_destroy_twice() {
|
||||
|
||||
fn test_destroy_actually_kills(force: bool) {
|
||||
|
||||
#[cfg(unix)]
|
||||
#[cfg(unix,not(target_os="android"))]
|
||||
static BLOCK_COMMAND: &'static str = "cat";
|
||||
|
||||
#[cfg(unix,target_os="android")]
|
||||
static BLOCK_COMMAND: &'static str = "/system/bin/cat";
|
||||
|
||||
#[cfg(windows)]
|
||||
static BLOCK_COMMAND: &'static str = "cmd";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user