From 1ac19e23e2cf469bf3935f839bd0402ea9ec96af Mon Sep 17 00:00:00 2001 From: Shupei Fan Date: Mon, 22 Jul 2024 19:18:36 +0800 Subject: [PATCH] [difftest] add missing linking depencency --- difftest/spike_rs/build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/difftest/spike_rs/build.rs b/difftest/spike_rs/build.rs index be5a213b2..75c51b22a 100644 --- a/difftest/spike_rs/build.rs +++ b/difftest/spike_rs/build.rs @@ -5,6 +5,8 @@ fn main() { println!("cargo::rustc-link-lib=static=riscv"); println!("cargo::rustc-link-lib=static=softfloat"); println!("cargo::rustc-link-lib=static=disasm"); + println!("cargo::rustc-link-lib=static=fesvr"); + println!("cargo::rustc-link-lib=static=fdt"); println!("cargo::rustc-link-search=native={}", env::var("SPIKE_INTERFACES_LIB_DIR").expect("SPIKE_INTERFACES_LIB_DIR should be set")); println!("cargo::rustc-link-lib=static=spike_interfaces");