Closed felixmaker closed 1 year ago
感谢 @京城逐梦 @被子飞了 和其他群友测试,看样子问题出现在:https://rust-lang.github.io/rfcs/1665-windows-subsystem.html
解决方法是指定 SUBSYSTEM 之后再加上 /ENTRY:mainCRTStartup,见 RFC 1665:
/ENTRY:mainCRTStartup
The second part of the solution is to pass an additional linker option when targeting the MSVC toolchain: /ENTRY:mainCRTStartup
v0.2.3 添加 /ENTRY:mainCRTStartup 支持
感谢 @京城逐梦 @被子飞了 和其他群友测试,看样子问题出现在:https://rust-lang.github.io/rfcs/1665-windows-subsystem.html
解决方法是指定 SUBSYSTEM 之后再加上
/ENTRY:mainCRTStartup
,见 RFC 1665: