leftibot 92abd226a9
Fix #660: Windows builds are broken (#661)
* Fix #660: Fix Windows builds, remove Appveyor, add sanitizer CI builds

Add missing #include <chrono> to src/main.cpp which caused MSVC build
failures since high_resolution_clock and duration_cast were used without
the header (GCC/Clang included it transitively). Remove obsolete
appveyor.yml (superseded by GitHub Actions). Add ASAN+UBSAN build
jobs for Linux and macOS in the CI workflow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Address review: add Windows ASAN+UBSAN sanitizer support

- Add MSVC-native ASAN support in CMakeLists.txt (/fsanitize=address)
  with /RTC removal and /INCREMENTAL:NO (both incompatible with ASAN)
- Add Windows MSVC ASAN CI job
- Add Windows ClangCL ASAN+UBSAN CI job (UBSAN requires Clang, not
  available in native MSVC)
- Fix sanitizer guard to include AppleClang (macOS sanitizer jobs were
  silently not enabling sanitizers)

Requested by @lefticus in PR #661 review.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Address review: remove Windows sanitizers, add TSAN for Linux/macOS

Remove windows-sanitizers and windows-clangcl-sanitizers CI jobs.
Add linux-tsan and macos-tsan CI jobs using ENABLE_THREAD_SANITIZER.

Requested by @lefticus in PR #661 review.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: leftibot <leftibot@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 15:06:33 -06:00
..
chaiscript_stdlib_module.cpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
libfuzzer_client.cpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
main.cpp Fix #660: Windows builds are broken (#661) 2026-04-11 15:06:33 -06:00
sanity_checks.cpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
sha3.cpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
sha3.h enhance building of fuzzer 2018-05-25 16:23:19 -06:00
stl_extra.cpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
test_module.cpp test_module: Fix noexcept warning 2025-02-19 20:04:17 +01:00