Rubyboat
Rubyboat
DDeno
Created by Rubyboat on 7/25/2024 in #help
Compiling for use on ARM
I'm trying to use the rust deno crate on ARM linux, so I need to compile it for that. I'm trying my hardest to compile for arm linux on an x64 windows machine (yes i know). So I'm using WSL, and trying to compile rustyV8. Currently my setup is the following: i have:
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
in my cargo.toml, and because there is no prebuilt V8 binaries for this, I have the environment variable V8_FROM_SOURCE=1. my current error is the following:
thread 'main' panicked at /home/<me>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.99.0/build.rs:947:5:
assertion failed: Command::new(gn()).arg(format!("--root={}",
dirs.root.display())).arg(format!("--script-executable={}",
python())).arg("gen").arg(&gn_out_dir).arg("--ide=json").arg("--args=".to_owned()
+
&args).stdout(Stdio::inherit()).stderr(Stdio::inherit()).envs(env::vars()).status().expect("Could not run `gn`").
thread 'main' panicked at /home/<me>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.99.0/build.rs:947:5:
assertion failed: Command::new(gn()).arg(format!("--root={}",
dirs.root.display())).arg(format!("--script-executable={}",
python())).arg("gen").arg(&gn_out_dir).arg("--ide=json").arg("--args=".to_owned()
+
&args).stdout(Stdio::inherit()).stderr(Stdio::inherit()).envs(env::vars()).status().expect("Could not run `gn`").
2 replies