Skip to content

Commit

Permalink
[difftest] add missing linking depencency
Browse files Browse the repository at this point in the history
  • Loading branch information
FanShupei committed Jul 22, 2024
1 parent ecec06a commit 1ac19e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions difftest/spike_rs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 1ac19e2

Please sign in to comment.