File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2525 with :
2626 python-version : ' 3.13'
2727
28+ # setup toolchain for asan
29+ - name : Setup MSVC dev command prompt
30+ uses : TheMrMilchmann/setup-msvc-dev@v3
31+ with :
32+ arch : x64
33+ toolset : 14.38.33130
34+ if : contains(matrix.os, 'windows' )
35+
2836 - name : Configure CMake
2937 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3038 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ target_compile_options(rapidcheck_tests PRIVATE
2525if ("${CMAKE_CXX_COMPILER_ID} " MATCHES "Clang" )
2626 target_link_libraries (rapidcheck_tests PUBLIC -fsanitize=address,undefined)
2727elseif ("${CMAKE_CXX_COMPILER_ID} " MATCHES "MSVC" )
28- target_compile_definitions (rapidcheck_tests PRIVATE "_DISABLE_VECTOR_ANNOTATION" "_DISABLE_STRING_ANNOTATION" )
28+ # disable annotations or possible annotation mismatch with librapidcheck. It is not really required by the vdf parser
29+ target_compile_definitions (rapidcheck_tests PRIVATE "_DISABLE_VECTOR_ANNOTATION" "_DISABLE_STRING_ANNOTATION" )
2930 target_compile_options (rapidcheck_tests PRIVATE /fsanitize=address)
3031endif ()
3132
You can’t perform that action at this time.
0 commit comments