about summary refs log tree commit diff
path: root/tests/run-make/export/simple/rmake.rs
blob: 6468e38c69b57ca4173c91fa1194ebc504034d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ ignore-cross-compile

// NOTE: `sdylib`'s platform support is basically that of `dylib`.
//@ needs-crate-type: dylib

use run_make_support::rustc;

fn main() {
    rustc().env("RUSTC_FORCE_RUSTC_VERSION", "1").input("libr.rs").run();
    rustc().env("RUSTC_FORCE_RUSTC_VERSION", "2").input("app.rs").run();
}