Skip to content

Commit 949864a

Browse files
committed
update
1 parent 6bc9f50 commit 949864a

File tree

1 file changed

+1
-9
lines changed
  • builtins-test-intrinsics/src

1 file changed

+1
-9
lines changed

builtins-test-intrinsics/src/main.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -650,20 +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)))]
654654
extern "C" fn main(_argc: core::ffi::c_int, _argv: *const *const u8) -> core::ffi::c_int {
655655
run();
656656
0
657657
}
658658

659-
#[no_mangle]
660-
#[cfg(windows)]
661-
#[allow(non_snake_case)]
662-
extern "C" fn mainCRTStartup() -> core::ffi::c_int {
663-
run();
664-
0
665-
}
666-
667659
#[no_mangle]
668660
#[cfg(thumb)]
669661
extern "C" fn _start() -> ! {

0 commit comments

Comments
 (0)