Skip to content

Commit d337f07

Browse files
committed
test unstable values of -C linker-flavor=gcc
1 parent 6e0bff9 commit d337f07

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: the `gcc:*` linker flavor is unstable, the `-Z unstable-options` flag must also be passed to use it
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: the `gcc:*` linker flavor is unstable, the `-Z unstable-options` flag must also be passed to use it
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// check-fail
2+
// revisions: lld other
3+
// [lld] compile-flags: -C linker-flavor=gcc:lld
4+
// [other] compile-flags: -C linker-flavor=gcc:other
5+
6+
// Test ensuring that the unstable `gcc:*` values of the stable `-C linker-flavor` flag require
7+
// using `-Z unstable options`
8+
9+
fn main() {}

0 commit comments

Comments
 (0)