Skip to content

Commit

Permalink
[difftest] add rust nix support. wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf committed Apr 22, 2024
1 parent 14cce30 commit 329257b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions nix/t1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ lib.makeScope newScope

emu = innerSelf.callPackage ./ipemu.nix { rtl = innerSelf.ip.emu-rtl; stdenv = moldStdenv; };
emu-trace = innerSelf.callPackage ./ipemu.nix { rtl = innerSelf.ip.emu-rtl; stdenv = moldStdenv; do-trace = true; };

difftest = innerSelf.callPackage ./offline_difftest.nix { rtl = innerSelf.ip.emu-rtl; };
};

subsystem = {
Expand Down
6 changes: 3 additions & 3 deletions nix/t1/offline_difftest.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ makeRustPlatform
, myRustToolchain
, libspike
{ libspike
, libspike_interfaces

, rtl
}:
let
myRustPlatform = makeRustPlatform {
Expand Down

0 comments on commit 329257b

Please sign in to comment.