#![allow(clippy::needless_doctest_main)]
#[allow(unused_extern_crates)]
extern crate proc_macro;
mod entry;
mod select;
use proc_macro::TokenStream;
#[cfg(unix)]
#[proc_macro_attribute]
pub fn main(args: TokenStream, item: TokenStream) -> TokenStream {
entry::main(args, item)
}
#[cfg(windows)]
#[proc_macro_attribute]
pub fn main(_args: TokenStream, _item: TokenStream) -> TokenStream {
unimplemented!()
}
#[proc_macro_attribute]
pub fn test(args: TokenStream, item: TokenStream) -> TokenStream {
entry::test(args, item)
}
#[proc_macro_attribute]
pub fn test_all(args: TokenStream, item: TokenStream) -> TokenStream {
entry::test_all(args, item)
}
#[proc_macro]
#[doc(hidden)]
pub fn select_priv_declare_output_enum(input: TokenStream) -> TokenStream {
select::declare_output_enum(input)
}