Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
10
third-party/vendor/swc_config_macro/src/lib.rs
vendored
Normal file
10
third-party/vendor/swc_config_macro/src/lib.rs
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extern crate proc_macro;
|
||||
|
||||
mod merge;
|
||||
|
||||
#[proc_macro_derive(Merge)]
|
||||
pub fn derive_merge(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
||||
let input = syn::parse(input).expect("failed to parse input as DeriveInput");
|
||||
|
||||
self::merge::expand(input).into()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue