mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Make it harder to use #entry incorrectly
This commit is contained in:
parent
c15d24ad45
commit
8cfcda9b54
|
@ -92,7 +92,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
let mut #argument_name = unsafe { #argument_type ::new_in_entry() };
|
||||
|
||||
if cfg!(test) {
|
||||
agb::test_runner::agb_start_tests(#argument_name, test_main);
|
||||
::agb::test_runner::agb_start_tests(#argument_name, test_main);
|
||||
} else {
|
||||
#(#stmts)*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue