Skip to content

Commit eb999b6

Browse files
committed
probe: give the custom i686 triple its section; add the empty-section case
1 parent 99b0335 commit eb999b6

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎.github/probe/x86_msvc_std_cases.sh‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,17 @@ case_run() {
3333
fi
3434
}
3535

36+
# A custom triple needs its own section (measured in run 37791590252: without
37+
# one, `--target i686-windows-msvc` is refused as an unknown target).
3638
T23='[toolchain]
37-
windows = "llvm@23.1.3"'
39+
windows = "llvm@23.1.3"
40+
41+
[target.i686-windows-msvc]
42+
toolchain = "llvm@23.1.3"'
43+
TEMPTY='[toolchain]
44+
windows = "llvm@23.1.3"
45+
46+
[target.i686-windows-msvc]'
3847
T22i='[toolchain]
3948
windows = "llvm@23.1.3"
4049
@@ -54,6 +63,10 @@ case_run g2-23-cxx20-i686-compat i686-windows-msvc c++20 "$T23" compat
5463
# Using the coroutine library itself under C++20 (expected to be refused by the
5564
# STL or the compiler; recorded for the documentation).
5665
case_run g2-23-cxx20-i686-coro i686-windows-msvc c++20 "$T23" coro
66+
# The section with nothing in it: what does a user who only names the triple get?
67+
case_run g1-23-cxx23-i686-empty i686-windows-msvc c++23 "$TEMPTY" std
68+
# Option (b) and G3 were measured in run 37791590252 (both build and run); not repeated.
69+
exit 0
5770
# Option (b): llvm 22.1.8 for this target only, in the spelling the note uses
5871
# and in MSVC's x86 spelling.
5972
case_run g1b-22-cxx23-i686 i686-windows-msvc c++23 "$T22i" std

0 commit comments

Comments
 (0)