Got rid of some old code
This commit is contained in:
parent
79e02b0999
commit
c24223f28e
@ -87,7 +87,6 @@ pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//let pass_names: Vec<String> = passes.iter().map(|pass| pass.0.to_string()).collect();
|
|
||||||
let pass_descriptors = passes.iter().map(|pass| {
|
let pass_descriptors = passes.iter().map(|pass| {
|
||||||
let name = pass.0.to_string();
|
let name = pass.0.to_string();
|
||||||
let opts: Vec<String> = match &pass.1 {
|
let opts: Vec<String> = match &pass.1 {
|
||||||
@ -118,11 +117,8 @@ pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream
|
|||||||
}
|
}
|
||||||
fn get_passes(&self) -> Vec<PassDescriptor> {
|
fn get_passes(&self) -> Vec<PassDescriptor> {
|
||||||
vec![ #(#pass_descriptors),* ]
|
vec![ #(#pass_descriptors),* ]
|
||||||
//vec![ #(PassDescriptor { name: #pass_names.to_string(), debug_options: vec![] }),* ]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#doc_method_body
|
#doc_method_body
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user