Skip to content

Commit eafb76a

Browse files
committed
experiment
1 parent 1a5fb60 commit eafb76a

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

builtins-test-intrinsics/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

builtins-test-intrinsics/src/main.rs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff 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)))]
654654
extern "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

0 commit comments

Comments
 (0)