mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
etnaviv: run rustfmt
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39347>
This commit is contained in:
parent
3183ce9af2
commit
6f6710eda5
1 changed files with 3 additions and 1 deletions
|
|
@ -163,7 +163,9 @@ fn generate_from_rule_impl_opc(isa: &ISA) -> TokenStream2 {
|
|||
/// Main derive function to generate the parser
|
||||
fn derive_parser(input: TokenStream) -> TokenStream {
|
||||
let mut ast: DeriveInput = parse_macro_input!(input as DeriveInput);
|
||||
let root = Path::new(file!()).parent().expect("Failed to located parent");
|
||||
let root = Path::new(file!())
|
||||
.parent()
|
||||
.expect("Failed to located parent");
|
||||
let (isa_filename, static_rules_filename) = parse_derive(&ast);
|
||||
let isa_path = Path::new(&root).join(isa_filename);
|
||||
let static_rules_path = Path::new(&root).join(static_rules_filename);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue