mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
15 lines
261 B
Rust
15 lines
261 B
Rust
|
use proc_macro2::TokenStream;
|
||
|
use proc_macro_error::abort;
|
||
|
|
||
|
use quote::quote;
|
||
|
|
||
|
pub fn agb_xm_core(args: TokenStream) -> TokenStream {
|
||
|
if args.is_empty() {
|
||
|
abort!(args, "must pass a filename");
|
||
|
}
|
||
|
|
||
|
quote! {
|
||
|
fn hello_world() {}
|
||
|
}
|
||
|
}
|