bump pyo3 and use anyhow for main functions
This commit is contained in:
parent
4e57289bab
commit
b8b4e28f2d
10 changed files with 401 additions and 115 deletions
|
|
@ -197,7 +197,7 @@ impl<'a> DexFileReader<'a> {
|
|||
fn sanity_check(&self) -> Result<()> {
|
||||
if self.header.magic.version != [0x30, 0x33, 0x39] {
|
||||
warn!(
|
||||
"DEX 039 is the only verion currently supported, found {}",
|
||||
"DEX 039 is the only version currently supported, found {}",
|
||||
std::str::from_utf8(self.header.magic.version.as_slice())
|
||||
.unwrap_or(&format!("{:x?}", self.header.magic.version))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue