chore(test): 移除工程配置里的 -Wl,--allow-multiple-definition 兜底

该 flag 会静默吞掉真实重复符号(PYI_BUF_SIZE 一类),违背 fail-fast。逐个工程移除后由 TPV 自举产物重建并运行验证,顺序回归 77/77 全通过。顺带提交 ProbeGen 配置 project.vpj -> project.json 的重命名(回归脚本只认 project.json)。
This commit is contained in:
TermiNexus committed 2026-10-05 09:22:53 +08:00
1 parent 55a517fbd2
commit 3f532e665d
79 files changed
+2422 -2477

No files matched your search

+28 -28
View File
@@ -1,29 +1,29 @@
{
"$schema": "https://raw.githubusercontent.com/TermiNexus/TransPyC/main/schemas/project-schema.json",
"name": "SprintfTest",
"version": "1.0.0",
"source_dir": "./App",
"build_dir": "./.tpv_build",
"compiler": {
"cmd": "llc",
"flags": ["-filetype=obj", "-relocation-model=pic"]
},
"linker": {
"cmd": "clang++",
"flags": ["-lmsvcrt", "-lucrt", "-lpthread", "-lmingwex", "-lkernel32", "-Wl,--allow-multiple-definition"],
"output": "SprintfTest.exe"
},
"includes": [
"../../includes"
],
"target": {
"triple": "x86_64-pc-windows-gnu",
"datalayout": "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
},
"options": {
{
"$schema": "https://raw.githubusercontent.com/TermiNexus/TransPyC/main/schemas/project-schema.json",
"name": "SprintfTest",
"version": "1.0.0",
"source_dir": "./App",
"build_dir": "./.tpv_build",
"compiler": {
"cmd": "llc",
"flags": ["-filetype=obj", "-relocation-model=pic"]
},
"linker": {
"cmd": "clang++",
"flags": ["-lmsvcrt", "-lucrt", "-lpthread", "-lmingwex", "-lkernel32"],
"output": "SprintfTest.exe"
},
"includes": [
"../../includes"
],
"target": {
"triple": "x86_64-pc-windows-gnu",
"datalayout": "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
},
"options": {
"slice_level": 3,
"sha1_slice_level": 1,
"target": "llvm",
"strict_mode": true
}
}
"sha1_slice_level": 1,
"target": "llvm",
"strict_mode": true
}
}