Skip to content

Commit d477d45

Browse files
committed
test unstable values of -C link-self-contained
These values require using `-Z unstable options`
1 parent 271a11a commit d477d45

5 files changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: only `-C link-self-contained` values `y`/`yes`/`on`/`n`/`no`/`off` are stable, the `-Z unstable-options` flag must also be passed to use the unstable values
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: only `-C link-self-contained` values `y`/`yes`/`on`/`n`/`no`/`off` are stable, the `-Z unstable-options` flag must also be passed to use the unstable values
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: only `-C link-self-contained` values `y`/`yes`/`on`/`n`/`no`/`off` are stable, the `-Z unstable-options` flag must also be passed to use the unstable values
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: only `-C link-self-contained` values `y`/`yes`/`on`/`n`/`no`/`off` are stable, the `-Z unstable-options` flag must also be passed to use the unstable values
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// check-fail
2+
// revisions: crt auto linker all
3+
// [crt] compile-flags: -C link-self-contained=crt
4+
// [auto] compile-flags: -C link-self-contained=auto
5+
// [linker] compile-flags: -C link-self-contained=linker
6+
// [all] compile-flags: -C link-self-contained=all
7+
8+
// Test ensuring that the unstable values of the stable `-C link-self-contained` flag
9+
// require using `-Z unstable options`
10+
11+
fn main() {}

0 commit comments

Comments
 (0)