experimentally switch to rv64

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-04-27 12:46:05 +02:00
parent 018d9f39fc
commit ea78e03348
11 changed files with 36 additions and 32 deletions
+4 -4
View File
@@ -3,11 +3,11 @@ use std::{env, fs, path::Path, process::Command};
fn compile(bitcode_path: &str) {
let output = Command::new("clang")
.args([
"--target=riscv32",
"--target=riscv64",
"-Xclang",
"-triple=riscv32-unknown-unknown-elf",
"-march=rv32em",
"-mabi=ilp32e",
"-triple=riscv64-unknown-unknown-elf",
"-march=rv64em",
"-mabi=lp64e",
"-fno-exceptions",
"-ffreestanding",
"-Wall",