Files
proxy-suite-flake/windows/.cargo/config.toml
T
faumarayandClaude Opus 5.5 8d9705cd3a windows: uninstall.cmd leaves the install folder before removing it
Opened from Explorer, its window's working directory is the install
folder, which Windows then cannot remove while the window waits at its
pause: the files went, the folder stayed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:47:45 +03:00

16 lines
981 B
TOML

# The Windows programs carry their C runtime: vcruntime140.dll is not on every Windows (the
# Visual C++ Redistributable brings it), and nothing else should have to be installed first.
# (LNK4099: the static runtime's objects name Microsoft's own PDBs, which are not shipped; it
# is about their debug info only.)
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static", "-C", "link-arg=/ignore:4099"]
# GPUI's build compiles its manifest with embed-resource, which would take the dev shell's RC
# (MinGW's windres, for the C cross-compiler) and make a COFF object of it; with llvm-rc it makes
# a .res, which the linker merges with the app's icon (crates/ps-gui/build.rs). Two resource
# objects it refuses. (A target/ from before this keeps GPUI's object: cargo clean -p gpui-pre.)
# Building on Windows without llvm-rc: set RC_x86_64_pc_windows_msvc=rc.exe in the environment,
# which this does not override.
[env]
RC_x86_64_pc_windows_msvc = "llvm-rc"