mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-04-30 19:09:26 +08:00
* 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>
4 lines
100 B
ChaiScript
4 lines
100 B
ChaiScript
// Regression test for issue #660: now() requires <chrono> include
|
|
var t = now()
|
|
assert_true(t > 0)
|