File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -93,11 +93,17 @@ endif ()
9393
9494if (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 ()
102108endif ()
103109
You can’t perform that action at this time.
0 commit comments