agb_start_tests can now be doc(hidden)

This commit is contained in:
Gwilym Kuiper 2022-07-03 17:55:07 +01:00
parent 20aebd349a
commit 0111ec43bb

View file

@ -369,6 +369,7 @@ pub mod test_runner {
loop {} // full implementation provided by the #[entry]
}
#[doc(hidden)]
pub fn agb_start_tests(gba: Gba, test_main: impl Fn()) -> ! {
unsafe { TEST_GBA = Some(gba) };
test_main();