mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 17:14:50 +00:00
9 lines
210 B
Rust
9 lines
210 B
Rust
extern crate proc_macro;
|
|
|
|
use proc_macro::TokenStream;
|
|
|
|
#[proc_macro_attribute]
|
|
pub fn main(_: TokenStream, item: TokenStream) -> TokenStream {
|
|
"fn main() -> std::io::Result<()> { () } ".parse().unwrap()
|
|
}
|