Skip to content

Commit

Permalink
[swift] Swift 6.0.2 on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Nov 2, 2024
1 parent 318ff24 commit 8035ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TEST_CXXFLAGS = -std=c++20 -Wall -Werror
SWIFTC = swiftc
ifeq ($(OS),Windows_NT)
JAVACPSEP = ;
SWIFTC += -no-color-diagnostics -Xlinker -noexp -Xlinker -noimplib
SWIFTC += -Xlinker -noexp -Xlinker -noimplib
else
ifeq ($(shell uname),Linux)
TEST_CFLAGS += -fsanitize=address -g
Expand Down
2 changes: 1 addition & 1 deletion test/Environment.fu
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public static class Test
{
string s = "HOME";
string? homeDir = Environment.GetEnvironmentVariable(s); //FAIL: cl
return homeDir != null
return homeDir != null //FAIL: swift 6.0.2 on Windows TODO
&& Environment.GetEnvironmentVariable("NOT_EXISTING_ENV_VAR") == null
&& Environment.GetEnvironmentVariable("") == null
&& Environment.GetEnvironmentVariable("123") == null
Expand Down

0 comments on commit 8035ea6

Please sign in to comment.