add riscv64 backend for cranelift. (#4271)
Add a RISC-V 64 (`riscv64`, RV64GC) backend. Co-authored-by: yuyang <756445638@qq.com> Co-authored-by: Chris Fallin <chris@cfallin.org> Co-authored-by: Afonso Bordado <afonsobordado@az8.co>
This commit is contained in:
@@ -24,9 +24,9 @@ pub fn build(
|
||||
#[cfg(not(feature = "fuzz-spec-interpreter"))]
|
||||
"spec" => return Ok(None),
|
||||
|
||||
#[cfg(not(any(windows, target_arch = "s390x")))]
|
||||
#[cfg(not(any(windows, target_arch = "s390x", target_arch = "riscv64")))]
|
||||
"v8" => Box::new(crate::oracles::diff_v8::V8Engine::new(config)),
|
||||
#[cfg(any(windows, target_arch = "s390x"))]
|
||||
#[cfg(any(windows, target_arch = "s390x", target_arch = "riscv64"))]
|
||||
"v8" => return Ok(None),
|
||||
|
||||
_ => panic!("unknown engine {name}"),
|
||||
|
||||
Reference in New Issue
Block a user