mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31: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();
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
#[cfg(test)]
|
||||
pub extern "C" fn main() -> ! {
|
||||
#[entry]
|
||||
fn agb_test_main() -> ! {
|
||||
test_main();
|
||||
loop {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue