Skip to content

Commit 56737dc

Browse files
committed
Fix nightly
1 parent f53d05d commit 56737dc

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: |
6363
mkdir staging
6464
if [ "${{ matrix.os }}" = "windows-latest" ]; then
65-
cp "build/Release/luau-lsp.exe" staging/
65+
cp "build/RelWithDebInfo/luau-lsp.exe" staging/
6666
cd staging
6767
7z a ../dist/server.zip *
6868
else

CMakeLists.txt

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,17 @@ endif ()
9393

9494
if (LSP_BUILD_ASAN)
9595
if (MSVC)
96-
add_compile_options(/fsanitize=address)
97-
add_link_options(/fsanitize=address)
96+
list(APPEND LUAU_LSP_OPTIONS /fsanitize=address)
97+
target_compile_options(Luau.Ast PRIVATE /fsanitize=address)
98+
target_compile_options(Luau.Analysis PRIVATE /fsanitize=address)
99+
target_compile_options(Luau.Compiler PRIVATE /fsanitize=address)
100+
target_compile_options(Luau.Config PRIVATE /fsanitize=address)
98101
else ()
99-
add_compile_options(-fsanitize=address)
100-
add_link_options(-fsanitize=address)
102+
list(APPEND LUAU_LSP_OPTIONS -fsanitize=address)
103+
target_compile_options(Luau.Ast PRIVATE -fsanitize=address)
104+
target_compile_options(Luau.Analysis PRIVATE -fsanitize=address)
105+
target_compile_options(Luau.Compiler PRIVATE -fsanitize=address)
106+
target_compile_options(Luau.Config PRIVATE -fsanitize=address)
101107
endif ()
102108
endif ()
103109

0 commit comments

Comments
 (0)