mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-12 01:51:34 +11:00
Specify what has the arguments
This commit is contained in:
parent
503b7262ca
commit
bcfc8e506c
|
@ -29,7 +29,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
|
||||||
"#[agb::entry] must have signature [unsafe] fn () -> !"
|
"#[agb::entry] must have signature [unsafe] fn () -> !"
|
||||||
);
|
);
|
||||||
|
|
||||||
assert!(args.to_string() == "", "Must pass no args to entrypoint");
|
assert!(args.to_string() == "", "Must pass no args to #[agb::entry] macro");
|
||||||
|
|
||||||
let fn_name = random_ident();
|
let fn_name = random_ident();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue