Skip to content

Release 2.1.0 - #65

Merged
esrrhs merged 1 commit into
masterfrom
release/2.1.0
Nov 30, 2026
Merged

esrrhs merged 1 commit into
masterfrom
release/2.1.0

Conversation

@esrrhs

@esrrhs esrrhs commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Make CMAKE_BUILD_TYPE=Debug an actual debug build (-O0, assertions on) and publish 2.1.0 with a changelog.
  • Generate the JIT runtime string from c_runtime_cov.h, and cache interpreter named calls plus small closure upvalues.
  • Refresh the Chinese and English benchmark notes from the 2026-11-30 run, and tighten CI: ASAN leaks, interpreter fuzz, a pinned TinyCC commit, and a Windows ccache key that is not the commit SHA.

Test plan

  • Release configure still compiles with -O3 -DNDEBUG; a Debug configure writes -O0 and does not define NDEBUG.
  • ./build/bin/bench_mark --benchmark_min_time=0.2s --benchmark_repetitions=1 completed and the docs use those times.
  • Filtered unit tests (closure, basic, runtime, algo, exception) passed, and flua --once ran on the interpreter, TCC, and GCC.
  • After merge, the Release workflow publishes v2.1.0 because FAKELUA_VERSION_STRING changes on master.

Made with Cursor

Debug builds keep assertions at -O0, the C runtime is generated from one source, and the interpreter caches named calls. CI checks ASAN leaks, fuzzes the interpreter, pins TinyCC, and reuses the Windows compiler cache across commits.

Co-authored-by: Cursor <cursoragent@cursor.com>
@esrrhs
esrrhs merged commit 25351e3 into master Nov 30, 2026
4 of 9 checks passed
@esrrhs
esrrhs deleted the release/2.1.0 branch November 30, 2026 05:52
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 93.47826% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.56%. Comparing base (cc49844) to head (bf1367e).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/interp/interpreter.cpp 93.18% 3 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   94.58%   94.56%   -0.03%     
==========================================
  Files         129      129              
  Lines       32302    32339      +37     
==========================================
+ Hits        30554    30580      +26     
- Misses       1748     1759      +11     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants