From 2e3fac3626a3edc61eb8afc7c17a19b5fec4b672 Mon Sep 17 00:00:00 2001 From: Alex Rønne Petersen Date: Tue, 16 Sep 2025 16:11:07 +0200 Subject: test: rename backend=stage2 to backend=selfhosted, and add backend=auto backend=auto (now the default if backend is omitted) means to let the compiler pick whatever backend it wants as the default. This is important for platforms where we don't yet have a self-hosted backend, such as loongarch64. Also purge a bunch of redundant target=native. --- test/cases/compile_errors/call_optional_function.zig | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/cases/compile_errors/call_optional_function.zig') diff --git a/test/cases/compile_errors/call_optional_function.zig b/test/cases/compile_errors/call_optional_function.zig index 40ae176bb0..9a9edadb59 100644 --- a/test/cases/compile_errors/call_optional_function.zig +++ b/test/cases/compile_errors/call_optional_function.zig @@ -8,8 +8,6 @@ pub export fn entry2() void { } // error -// backend=stage2 -// target=native // // :3:9: error: cannot call optional type '?fn () void' // :3:9: note: consider using '.?', 'orelse' or 'if' -- cgit v1.2.3