Skip to content

Commit e594aca

Browse files
committed
auto merge of #11656 : brson/rust/omgandroid, r=cmr
2 parents 290c29c + 2d656d6 commit e594aca

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

src/compiletest/runtest.rs

+6
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,15 @@ actual:\n\
237237

238238
fn make_typecheck_args(config: &config, props: &TestProps, testfile: &Path) -> ProcArgs {
239239
let aux_dir = aux_output_dir_name(config, testfile);
240+
let target = if props.force_host {
241+
config.host.as_slice()
242+
} else {
243+
config.target.as_slice()
244+
};
240245
// FIXME (#9639): This needs to handle non-utf8 paths
241246
let mut args = ~[~"-",
242247
~"--no-trans", ~"--lib",
248+
~"--target=" + target,
243249
~"-L", config.build_base.as_str().unwrap().to_owned(),
244250
~"-L",
245251
aux_dir.as_str().unwrap().to_owned()];

src/test/compile-fail/macro-crate-unexported-macro.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
// aux-build:macro_crate_test.rs
1212
// xfail-stage1
13+
// xfail-android
1314

1415
#[feature(phase)];
1516

src/test/compile-fail/phase-syntax-doesnt-resolve.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
// aux-build:macro_crate_test.rs
1212
// xfail-stage1
13+
// xfail-android
1314

1415
#[feature(phase)];
1516

src/test/run-pass-fulldeps/macro-crate.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// aux-build:macro_crate_test.rs
1212
// xfail-stage1
1313
// xfail-fast
14+
// xfail-android
1415

1516
#[feature(phase)];
1617

0 commit comments

Comments
 (0)