[1124] L3 剩余 glue 迁到 standalone 编译单元#3840
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Summary
承接 PR #3838(
glue_drd/glue_file)的 L3 standalone 迁移,本批把L3 剩余 glue 全部迁到独立编译单元模式:
glue_misc/glue_modification/glue_moebius/glue_patch/glue_url五个 lua 声明文件加standalone = true+includes列表,各配一个
glue_<name>_extra.hpp持有穿插函数 /using引入 / 辅助类型(
_extra.hpp的内容见devel/1124.md进度条)。init_glue_l3.cpp删掉对应的#include "glue_*.cpp"文本包含,改为 include
_extra.hpp(穿插函数还在用的)。init_glue_l3.hpp调整前向声明。落地后增量粒度到单文件,符合标准 codegen 模式(背景见
devel/1124.md)。Test plan
xmake f -m release && xmake b stem全量构建通过nm build/*/libmogan.so | grep tmg_ | wc -l符号数不低于改造前xmake r stem正常启动、scheme 函数可调用xmake build --group=tests整组通过🤖 Generated with Claude Code