From 8035ea65454b6d7f5d061a1ec36c5df9c3a54837 Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Sat, 2 Nov 2024 15:47:06 +0100 Subject: [PATCH] [swift] Swift 6.0.2 on Windows. --- Makefile | 2 +- test/Environment.fu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 16b16fd1..a6405c81 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/test/Environment.fu b/test/Environment.fu index 6cf2e3a5..d28094fd 100644 --- a/test/Environment.fu +++ b/test/Environment.fu @@ -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