Skip to content

Commit 2f5bb97

Browse files
committed
Add tests for windows-gnu split-debuginfo options
1 parent 76a030a commit 2f5bb97

17 files changed

+122
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//@ revisions: aarch64_gnullvm i686_gnu i686_gnullvm i686_uwp_gnu x86_64_gnu x86_64_gnullvm x86_64_uwp_gnu
2+
//@ compile-flags: --crate-type cdylib -Csplit-debuginfo=off
3+
//@ check-pass
4+
5+
//@[aarch64_gnullvm] compile-flags: --target aarch64-pc-windows-gnullvm
6+
7+
//@[i686_gnu] compile-flags: --target i686-pc-windows-gnu
8+
9+
//@[i686_gnullvm] compile-flags: --target i686-pc-windows-gnullvm
10+
11+
//@[i686_uwp_gnu] compile-flags: --target i686-uwp-windows-gnu
12+
13+
//@[x86_64_gnu] compile-flags: --target x86_64-pc-windows-gnu
14+
15+
//@[x86_64_gnullvm] compile-flags: --target x86_64-pc-windows-gnullvm
16+
17+
//@[x86_64_uwp_gnu] compile-flags: --target x86_64-uwp-windows-gnu
18+
19+
#![feature(no_core)]
20+
21+
#![no_core]
22+
#![no_std]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=packed` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=packed` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=packed` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=packed` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//@ revisions: aarch64_gnullvm i686_gnu i686_gnullvm i686_uwp_gnu x86_64_gnu x86_64_gnullvm x86_64_uwp_gnu
2+
//@ compile-flags: --crate-type cdylib -Csplit-debuginfo=packed
3+
//@ error-pattern: error: `-Csplit-debuginfo=packed` is unstable on this platform
4+
5+
//@[aarch64_gnullvm] compile-flags: --target aarch64-pc-windows-gnullvm
6+
7+
//@[i686_gnu] compile-flags: --target i686-pc-windows-gnu
8+
9+
//@[i686_gnullvm] compile-flags: --target i686-pc-windows-gnullvm
10+
11+
//@[i686_uwp_gnu] compile-flags: --target i686-uwp-windows-gnu
12+
13+
//@[x86_64_gnu] compile-flags: --target x86_64-pc-windows-gnu
14+
15+
//@[x86_64_gnullvm] compile-flags: --target x86_64-pc-windows-gnullvm
16+
17+
//@[x86_64_uwp_gnu] compile-flags: --target x86_64-uwp-windows-gnu
18+
19+
#![feature(no_core)]
20+
21+
#![no_core]
22+
#![no_std]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=packed` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=packed` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=packed` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//@ revisions: aarch64_gnullvm i686_gnu i686_gnullvm i686_uwp_gnu x86_64_gnu x86_64_gnullvm x86_64_uwp_gnu
2+
//@ compile-flags: --crate-type cdylib -Csplit-debuginfo=unpacked
3+
//@ error-pattern: error: `-Csplit-debuginfo=unpacked` is unstable on this platform
4+
5+
//@[aarch64_gnullvm] compile-flags: --target aarch64-pc-windows-gnullvm
6+
7+
//@[i686_gnu] compile-flags: --target i686-pc-windows-gnu
8+
9+
//@[i686_gnullvm] compile-flags: --target i686-pc-windows-gnullvm
10+
11+
//@[i686_uwp_gnu] compile-flags: --target i686-uwp-windows-gnu
12+
13+
//@[x86_64_gnu] compile-flags: --target x86_64-pc-windows-gnu
14+
15+
//@[x86_64_gnullvm] compile-flags: --target x86_64-pc-windows-gnullvm
16+
17+
//@[x86_64_uwp_gnu] compile-flags: --target x86_64-uwp-windows-gnu
18+
19+
#![feature(no_core)]
20+
21+
#![no_core]
22+
#![no_std]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
error: `-Csplit-debuginfo=unpacked` is unstable on this platform
2+
3+
error: aborting due to 1 previous error
4+

0 commit comments

Comments
 (0)