Add MinGW build config, remove console window, Chinese font support
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user