[1195] 移除 os-mingw?:scheme 调用 + glue 绑定 + C++ 函数及死代码 - #4278
Merged
Conversation
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.
改动
移除
os-mingw?及其 C++ 对应函数os_mingw()——项目不支持 MinGW 构建,该谓词在所有代码路径中始终返回#f,相关分支均为死代码。Scheme 层(progs + plugins)
os-mingw?调用全部移除:(or (os-mingw?) (os-windows?))→(os-windows?)(7 处),独立(os-mingw?)的if坍缩为 else 分支(2 处)glue-symbols.scm删除"os-mingw?"条目Glue 层
glue_lolly.lua删除os-mingw?→os_mingw绑定C++ 层
sys_utils.hpp/.cpp删除os_mingw()声明与定义os_mingw ()全部移除url.cpp连带删除heuristic_is_mingw_default、url_mingw_default死代码不改动
OS_MINGW预处理器宏保留——它是编译期条件,与运行时谓词无关🤖 Generated with Claude Code