Skip to content

Commit c21fcac

Browse files
committed
Converted test to rpass.
1 parent e82bb91 commit c21fcac

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

src/test/run-make/msvc-data-only/foo.rs renamed to src/test/auxiliary/msvc-data-only-lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// no-prefer-dynamic
12+
1113
#![crate_type = "rlib"]
1214

1315
pub static FOO: i32 = 42;

src/test/run-make/msvc-data-only/Makefile

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/test/run-make/msvc-data-only/bar.rs renamed to src/test/run-pass/msvc-data-only.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
extern crate foo;
11+
// aux-build:msvc-data-only-lib.rs
12+
13+
extern crate msvc_data_only_lib;
1214

1315
fn main() {
14-
println!("The answer is {} !", foo::FOO);
16+
println!("The answer is {} !", msvc_data_only_lib::FOO);
1517
}

0 commit comments

Comments
 (0)