Repository navigation
Conversation
…を tcs check に渡す lub check は src/tcs_build.c で入力を別に集めていて、Lub="Source" の参照先を辿らず、*.ref.cs を変換する入力として渡していた。 入力の集め方を src/vm_project.c の 1 本にし、lub check (vm_project_check) もそれを使う。 tcs_build.c には、引数をそのまま渡して tcs check を動かす tcs_check_run だけを残す。 lub check が project に何も書かないように、.lub/ は一覧を書くときに作る。 scripts/test-lub-check.sh に、Lub="Source" の参照と *.ref.cs を持つ project が通ることを足す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bkc8zTBHyUd33xex3cycYb
neguse
marked this pull request as ready for review
November 21, 2026 07:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
問題
lub check <csproj>とlub <csproj>が、csproj から入力を別々に集めていた (src/tcs_build.cとsrc/vm_project.c)。lub checkはLub="Source"の参照先を辿らず、*.ref.csを宣言だけの参照 (--ref) でなく変換する入力として渡していた。そのため、参照先の型を使うゲーム (lider の
tests/*/の project など) は、lubでは動くのにlub checkは通らない。変更
src/vm_project.cの 1 本にし、lub checkはvm_project_checkで同じ入力と--refをtcs checkに渡す。src/tcs_build.cには、引数をそのまま渡してtcs checkを動かすtcs_check_runだけを残す (前の入力を集める処理は消す)。lub checkが project に何も書かないように、.lub/は入力の一覧を書くとき (vm_project_scan) に作る。tcs checkに渡す引数の数の上限 (256) を無くす。確かめたこと
scripts/test-lub-check.shに、Lub="Source"の参照と*.ref.csを持つ project が通り、.lub/を書かないことを足し、手元の Linux の Release build で通った。scripts/vm-project-test.sh(csproj から動かす経路、hot reload、App.Use、native の拡張) とlub_vm_project_smokeが手元で通った。Refs #652
🤖 Generated with Claude Code
https://claude.ai/code/session_01Bkc8zTBHyUd33xex3cycYb