Repository navigation
Windows: tcode.exe embeds the application manifest GPUI needs, so it starts again - #1230
Merged
Merged
Conversation
…starts again Since gpui-base 0.12 dropped gpui-pre from the desktop build (e638407), nothing embedded a manifest: gpui-base and gpui-kit turn on gpui-fast's windows-manifest-provided-by-host, and Tcode's resource script carried only the icon. Without the Common-Controls v6 dependency the loader binds comctl32 v5, which has no TaskDialogIndirect, and v0.5.4 and v0.5.5 refuse to start. The manifest is GPUI's own, so per-monitor DPI awareness returns too, and the build now fails instead of shipping an exe without it.
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
Since e638407 (v0.5.4) no manifest reached
tcode.exe:Without the Common-Controls v6 dependency the loader binds comctl32 v5, which has no
TaskDialogIndirect(imported by gpui-fast-windows), so the exe refuses to start: "无法定位程序输入点 TaskDialogIndirect 于动态链接库 tcode.exe 上".manifest_requiredturns a missing resource compiler into a build failure instead of another exe without the manifest.Evidence
tcode.exe,grep -a -c Microsoft.Windows.Common-Controls:cargo tree --target x86_64-pc-windows-msvc -e features -i gpui-fastshowswindows-manifestandwindows-manifest-provided-by-hostboth on, and no gpui-pre.tcode.execross-built from this branch (cargo xwin build -p tcode --target x86_64-pc-windows-msvc; debug, since release shaders needfxc.exe),llvm-readobj --coff-resources/--coff-imports:Merge Danger
Door: Two-way
Blast Radius: Windows desktop binary
Only
tcode.exe's embedded resources change; Windows builds run on MSVC runners, which haverc.exe.