We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d956c2d commit 1756058Copy full SHA for 1756058
src/lib.rs
@@ -75,6 +75,10 @@ impl ThunkBuilder {
75
76
if let Some(args) = subsystem_args {
77
rust_flags.push(args.into());
78
+
79
+ if let Some(Subsystem::Windows) = subsystem {
80
+ rust_flags.push("-Clink-args=/ENTRY:mainCRTStartup".into())
81
+ }
82
}
83
84
let thunks_obj = match os {
0 commit comments