Add MinGW build config, remove console window, Chinese font support

This commit is contained in:
xiaji
2026-04-16 21:45:14 +08:00
parent 3173475a21
commit 15334459be
6 changed files with 131 additions and 4 deletions

View File

@@ -18,7 +18,8 @@ opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"
# MinGW target config
[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"
linker = "x86_64-w64-mingw32-gcc"
rustflags = ["-C", "link-args=-static-libgcc"]