From 794a20783db8ff2832a2e343786d3d81b83bd722 Mon Sep 17 00:00:00 2001 From: "Sven A. Schmidt" Date: Mon, 25 Sep 2023 14:35:55 +0200 Subject: [PATCH] Run with TSan --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 00de20649..4ef850ed0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,8 @@ COPY . . RUN swift build -c release --static-swift-stdlib \ # Workaround for https://github.com/apple/swift/pull/68669 # This can be removed as soon as 5.9.1 is released, but is harmless if left in. - -Xlinker -u -Xlinker _swift_backtrace_isThunkFunction + -Xlinker -u -Xlinker _swift_backtrace_isThunkFunction \ + --sanitize=thread # Switch to the staging area WORKDIR /staging