Run icicle tests

This commit is contained in:
Maurice Heumann
2025-04-04 14:53:31 +02:00
committed by momo5502
parent 6b6d2d29f7
commit 8de5c7be3a
2 changed files with 21 additions and 2 deletions

View File

@@ -210,6 +210,14 @@ namespace
std::unique_ptr<x64_emulator> create_default_x64_emulator()
{
#if MOMO_ENABLE_RUST_CODE
const auto* env = getenv("EMULATOR_ICICLE");
if (env && (env == "1"sv || env == "true"sv))
{
return icicle::create_x64_emulator();
}
#endif
return unicorn::create_x64_emulator();
}