Skip to content

Commit

Permalink
修正 get_exec_arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-xmh committed Nov 3, 2023
1 parent f869292 commit 9da8425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scl-core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ pub async fn get_exec_arch(file_path: impl AsRef<std::path::Path>) -> DynResult<
0x03 => Ok(Arch::X86), // X86
0x3E => Ok(Arch::X64), // X86_64
0xB7 => Ok(Arch::ARM64), // ARM64
(_, _) => anyhow::bail!("不支持判定此架构"),
_ => anyhow::bail!("不支持判定此架构"),
}
}

Expand Down

0 comments on commit 9da8425

Please sign in to comment.