Skip to content

Fix test-runner --no-default-lib and gctors-as-method flag accumulation#183

Merged
ASDAlexander77 merged 1 commit into
mainfrom
test-runner-no-default-lib
Jul 5, 2026
Merged

Fix test-runner --no-default-lib and gctors-as-method flag accumulation#183
ASDAlexander77 merged 1 commit into
mainfrom
test-runner-no-default-lib

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

Summary

  • Pass --no-default-lib to tslang when compiling tests
  • Fix tslang_opt_ext being overwritten (rather than appended to) when --gctors-as-method is set, by making it a std::string and using +=

Test plan

  • Run the test suite via test-runner and confirm behavior is unchanged for the non-gctors-as-method path

…umulation

test-runner was overwriting tslang_opt_ext with a raw string literal,
so setting --gctors-as-method clobbered any prior flags instead of
appending. Switch it to std::string and append with +=.
@ASDAlexander77 ASDAlexander77 merged commit 2467463 into main Jul 5, 2026
2 checks passed
@ASDAlexander77 ASDAlexander77 deleted the test-runner-no-default-lib branch July 5, 2026 12:00
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.

1 participant