File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ fn main() {
99 builtins_configure:: configure_f16_f128 ( & target) ;
1010 builtins_configure:: configure_aliases ( & target) ;
1111
12- if target. os == "windows" {
13- // Needed for using the `mainCRTStartup` entrypoint.
14- println ! ( "cargo::rustc-link-arg=/subsystem:console" ) ;
15- }
12+ // if target.os == "windows" {
13+ // // Needed for using the `mainCRTStartup` entrypoint.
14+ // println!("cargo::rustc-link-arg=/subsystem:console");
15+ // }
1616}
Original file line number Diff line number Diff line change @@ -650,17 +650,12 @@ fn something_with_a_dtor(f: &dyn Fn()) {
650650
651651#[ no_mangle]
652652#[ cfg( not( thumb) ) ]
653- #[ cfg( not( any( thumb, windows ) ) ) ]
653+ #[ cfg( not( any( thumb) ) ) ]
654654extern "C" fn main ( _argc : core:: ffi:: c_int , _argv : * const * const u8 ) -> core:: ffi:: c_int {
655- run ( ) ;
656- 0
657- }
658-
659- #[ no_mangle]
660- #[ cfg( windows) ]
661- #[ allow( non_snake_case) ]
662- extern "C" fn mainCRTStartup ( ) -> core:: ffi:: c_int {
663- run ( ) ;
655+ // run();
656+ if false {
657+ run ( ) ;
658+ }
664659 0
665660}
666661
You can’t perform that action at this time.
0 commit comments