Skip to content

Commit

Permalink
test: add missing unused symbol to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnychevalier committed Dec 10, 2023
1 parent 4ebcc98 commit a55c4b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test-nothing/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#![no_main]
#![cfg_attr(windows, windows_subsystem = "console")]

#[used]
#[no_mangle]
pub static _fltused: i32 = 0;

#[cfg(windows)]
#[no_mangle]
pub unsafe extern "C" fn mainCRTStartup() -> ! {
Expand Down

0 comments on commit a55c4b4

Please sign in to comment.