Skip to content

Commit f0a5fa5

Browse files
committed
Dummy fix CLTLogger -> GHALogger
1 parent cf327e9 commit f0a5fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/LinuxMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ XCTMain(tests)
2626
import struct CLTLogger.SGR
2727
try FileHandle.standardError.write(contentsOf: Data("""
2828
\(SGR(.fgColorTo4BitBrightRed, .bold).rawValue)Tests are disabled on WASI\(SGR.reset.rawValue):
29-
\(SGR(.fgColorTo256PaletteValue(245)).rawValue)CLTLogger is compatible with Swift <5.4, so we have to add a LinuxMain file in which we call XCTMain.
29+
\(SGR(.fgColorTo256PaletteValue(245)).rawValue)GHALogger is compatible with Swift <5.4, so we have to add a LinuxMain file in which we call XCTMain.
3030
On WASI the XCTMain function is async, so we have to #if the XCTMain call, one with the await keyword, the other without.
3131
However, on Swift <5.5 the LinuxMain setup like this does not compile because the old compiler does not know the await keyword
3232
(even though the whole code is ignored because we do not compile for WASI when compiling with an old compiler).

0 commit comments

Comments
 (0)