rewrite and rename issue-37893 to rmake
This commit is contained in:
parent
0697884ea9
commit
8c8d0db02d
9 changed files with 18 additions and 10 deletions
|
|
@ -6,7 +6,7 @@
|
|||
//@ ignore-macos
|
||||
//@ ignore-cross-compile
|
||||
|
||||
//@ compile-flags -Clink-args=-Wl,-z,text
|
||||
//@ compile-flags: -Clink-args=-Wl,-z,text
|
||||
//@ run-pass
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//@ compile-flags --crate-type=dylib -Cprefer-dynamic
|
||||
//@ compile-flags: -Cprefer-dynamic
|
||||
|
||||
#![crate_type = "dylib"]
|
||||
pub fn bar() {}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// on the dynamic library simple-dylib.rs. If the test passes,
|
||||
// dylibs can be built and linked into another file successfully..
|
||||
|
||||
//@ aux-crate: simple-dylib.rs
|
||||
//@ aux-crate:bar=simple-dylib.rs
|
||||
//@ run-pass
|
||||
|
||||
extern crate bar;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue