diff --git a/vlib/v/gen/x64/tests/x64_test.v b/vlib/v/gen/x64/tests/x64_test.v index 45fcc48106..b10cac7596 100644 --- a/vlib/v/gen/x64/tests/x64_test.v +++ b/vlib/v/gen/x64/tests/x64_test.v @@ -4,6 +4,9 @@ import term // TODO some logic copy pasted from valgrind_test.v and compiler_test.v, move to a module fn test_x64() { + $if !amd64 { + return + } if os.user_os() != 'linux' { eprintln('x64 tests can only be run on Linux for now.') exit(0)