2017-02-06 05:44:38 -06:00
|
|
|
// force-host
|
|
|
|
// no-prefer-dynamic
|
2014-02-18 10:14:12 -06:00
|
|
|
|
2017-02-06 05:44:38 -06:00
|
|
|
#![crate_type = "proc-macro"]
|
|
|
|
|
|
|
|
extern crate proc_macro;
|
|
|
|
|
|
|
|
use proc_macro::TokenStream;
|
|
|
|
|
|
|
|
#[proc_macro_derive(FooWithLongName)]
|
|
|
|
pub fn derive_foo(input: TokenStream) -> TokenStream {
|
|
|
|
"".parse().unwrap()
|
2014-02-18 10:14:12 -06:00
|
|
|
}
|