mirror of
https://github.com/encounter/decomp-toolkit.git
synced 2025-12-12 06:45:09 +00:00
Format & use syntect regex-fancy
The onig crate no longer builds in CI with cargo-zigbuild.
This commit is contained in:
@@ -8,8 +8,7 @@ use std::{
|
||||
use anyhow::{anyhow, bail, Context, Result};
|
||||
use argp::FromArgs;
|
||||
use object::{
|
||||
elf, Object, ObjectSection, ObjectSymbol, RelocationFlags, RelocationTarget,
|
||||
Section,
|
||||
elf, Object, ObjectSection, ObjectSymbol, RelocationFlags, RelocationTarget, Section,
|
||||
};
|
||||
use syntect::{
|
||||
highlighting::{Color, HighlightIterator, HighlightState, Highlighter, Theme, ThemeSet},
|
||||
|
||||
@@ -12,9 +12,8 @@ use objdiff_core::obj::split_meta::{SplitMeta, SPLITMETA_SECTION};
|
||||
use object::{
|
||||
elf,
|
||||
write::{Mangling, SectionId, SymbolId},
|
||||
FileFlags, Object, ObjectSection, ObjectSymbol,
|
||||
RelocationTarget, SectionFlags, SectionIndex, SectionKind, SymbolFlags, SymbolIndex,
|
||||
SymbolKind, SymbolScope, SymbolSection,
|
||||
FileFlags, Object, ObjectSection, ObjectSymbol, RelocationTarget, SectionFlags, SectionIndex,
|
||||
SectionKind, SymbolFlags, SymbolIndex, SymbolKind, SymbolScope, SymbolSection,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
|
||||
@@ -18,8 +18,7 @@ use object::{
|
||||
StringId,
|
||||
},
|
||||
Architecture, Endianness, Object, ObjectKind, ObjectSection, ObjectSymbol, Relocation,
|
||||
RelocationFlags, RelocationTarget, SectionKind, Symbol, SymbolKind,
|
||||
SymbolScope, SymbolSection,
|
||||
RelocationFlags, RelocationTarget, SectionKind, Symbol, SymbolKind, SymbolScope, SymbolSection,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
|
||||
Reference in New Issue
Block a user