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");