From 00131bb85ee294179e5179b00a2c68f4ea3610b5 Mon Sep 17 00:00:00 2001 From: NotRexed Date: Fri, 27 Nov 2026 17:58:38 -0500 Subject: main keeps its own runtime, tools and tests; the branch's variants stay on port/d3d12-nvidia After the merge the tree held this branch's older states of files main maintains. Run against main's code, tests/test_acphal_abi.py and 11 of the 15 translator tests that differed failed, and the C++ runtime would have been built from two generations of its sources. So that the merge cannot break what main builds and tests: - runtime/ is main's, file for file (68 files only this branch had are not carried over); - every file under tools/, tests/ and docs/ that both sides have is main's (80 files); - ten translator tests only this branch has, which test rules main's translator does not have, and their fixtures are left out. What main gains: d3d12/ (the Rust D3D12 runtime), its launchers and helpers (Launcher.bat, scripts/play*.ps1, play-linux.sh, port_ctl.py, smooth-motion.ps1, fetch_vkd3d_proton.py, sync_victory.py), mods/example_lua, eleven notes under docs/, seven tools and the tests that pass with main's code, the README's sections and credits, and the "Runtime traps" section of AGENTS.md. Everything left out here is on the branch port/d3d12-nvidia. Checked: compileall; make_game.py --help; check_no_game_data.py over every file this adds to main; the line-ending, docs-encoding, CI-registration and docs tests; each test file that differs from main, on its own. Not run: the whole translator suite, the C++ build, cargo over d3d12/ after the merge (d3d12/ is byte for byte the branch's), CI. Co-Authored-By: Claude Fable 5.2 --- runtime/test/process_cmdline_test.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'runtime/test/process_cmdline_test.cpp') diff --git a/runtime/test/process_cmdline_test.cpp b/runtime/test/process_cmdline_test.cpp index a550910b9..bf55821d1 100644 --- a/runtime/test/process_cmdline_test.cpp +++ b/runtime/test/process_cmdline_test.cpp @@ -439,23 +439,6 @@ int main() { SetProcessAffinityMask(GetCurrentProcess(), process_mask); } - // The title's debug output is served (and logged as "[title] ..."); TerminateProcess is served by the shim too. - { - using DebugA = void(WINAPI*)(LPCSTR); - using DebugW = void(WINAPI*)(LPCWSTR); - const auto debug_a = reinterpret_cast(rt::shims::find("kernelbase.dll", "OutputDebugStringA")); - const auto debug_w = - reinterpret_cast(rt::shims::find("api-ms-win-core-debug-l1-1-0.dll", "OutputDebugStringW")); - if (!debug_a || !debug_w || !rt::shims::find("kernel32.dll", "TerminateProcess")) { - std::fprintf(stderr, "FAIL OutputDebugStringA/W and TerminateProcess are not served\n"); - ++failures; - } else { - debug_a("process_cmdline: a narrow debug line\n"); - debug_w(L"process_cmdline: a wide debug line Δ"); - debug_a(nullptr); - } - } - if (failures) return 1; std::printf("process_cmdline: GetCommandLineW parses back to __wargv, non-ASCII arguments intact (code page %u); " "the WinMain line and the kernelbase/API-set names are the game's\n", -- cgit v1.2.3