fix: always false assertion

This commit is contained in:
xinyangli 2024-01-11 17:29:23 +08:00
parent 096cc220d1
commit 1af1dbcd20
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -26,7 +26,7 @@
gtkwave
];
inputsFrom = [ self.packages.${system}.default ];
inputsFrom = [ self.packages.${system}.nemu ];
};
packages.nemu = with pkgs; stdenv.mkDerivation rec {

View file

@ -32,8 +32,6 @@ static void welcome() {
Log("Build time: %s, %s", __TIME__, __DATE__);
printf("Welcome to %s-NEMU!\n", ANSI_FMT(str(__GUEST_ISA__), ANSI_FG_YELLOW ANSI_BG_RED));
printf("For help, type \"help\"\n");
Log("Exercise: Please remove me in the source code and compile NEMU again.");
assert(0);
}
#ifndef CONFIG_TARGET_AM