mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-25 01:01:34 +11:00
Use the entry
macro for the test main
This commit is contained in:
parent
af40d48360
commit
02939041b4
|
@ -282,9 +282,9 @@ pub fn test_runner(tests: &[&dyn Testable]) {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub extern "C" fn main() -> ! {
|
#[entry]
|
||||||
|
fn agb_test_main() -> ! {
|
||||||
test_main();
|
test_main();
|
||||||
loop {}
|
loop {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue