This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
- error: linker flavor `bpf-linker` is unstable, `-Z unstable-options` flag must also be passed to explicitly use it
1
+ error: the linker flavor `bpf-linker` is unstable, the `-Z unstable-options` flag must also be passed to use the unstable values
2
2
Original file line number Diff line number Diff line change 1
- error: linker flavor `ptx-linker` is unstable, `-Z unstable-options` flag must also be passed to explicitly use it
1
+ error: the linker flavor `ptx-linker` is unstable, the `-Z unstable-options` flag must also be passed to use the unstable values
2
2
Original file line number Diff line number Diff line change
1
+ // Even though this test only checks 2 of the 10 or so unstable linker flavors, it exercizes the
2
+ // unique codepath checking all unstable options (see `LinkerFlavorCli::is_unstable` and its
3
+ // caller). If it passes, all the other unstable options are rejected as well.
4
+ //
1
5
// revisions: bpf ptx
2
6
// [bpf] compile-flags: --target=bpfel-unknown-none -C linker-flavor=bpf-linker --crate-type=rlib
3
- // [bpf] error-pattern: linker flavor `bpf-linker` is unstable, `-Z unstable-options` flag
7
+ // [bpf] error-pattern: linker flavor `bpf-linker` is unstable, the `-Z unstable-options` flag
4
8
// [bpf] needs-llvm-components:
5
9
// [ptx] compile-flags: --target=nvptx64-nvidia-cuda -C linker-flavor=ptx-linker --crate-type=rlib
6
- // [ptx] error-pattern: linker flavor `ptx-linker` is unstable, `-Z unstable-options` flag
10
+ // [ptx] error-pattern: linker flavor `ptx-linker` is unstable, the `-Z unstable-options` flag
7
11
// [ptx] needs-llvm-components:
8
12
9
13
#![ feature( no_core) ]
You can’t perform that action at this time.
0 commit comments