src: add x86_64 support

This commit is contained in:
rifsxd
2025-05-24 16:56:24 +06:00
committed by Rifat Azad
parent db223a1e92
commit 44ad960da7
22 changed files with 273 additions and 22 deletions
+5
View File
@@ -23,6 +23,11 @@ struct Asset;
#[folder = "bin/arm"]
struct Asset;
#[cfg(all(target_arch = "x86_64", target_os = "android"))]
#[derive(RustEmbed)]
#[folder = "bin/x86_64"]
struct Asset;
pub fn ensure_binaries(ignore_if_exist: bool) -> Result<()> {
for file in Asset::iter() {
if file == "ksuinit" || file.ends_with(".ko") {