diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-07-30 03:18:10 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-07-31 01:58:10 -0400 |
| commit | 817fa3af8631d894004fbdb668da0882836dbe9b (patch) | |
| tree | 3e63751b5ebb46fe8c45eca41a5248075d97bda8 /test/behavior | |
| parent | 43b830415368ac4fb08bf5e154a222a38baf4a24 (diff) | |
| download | zig-817fa3af8631d894004fbdb668da0882836dbe9b.tar.gz zig-817fa3af8631d894004fbdb668da0882836dbe9b.zip | |
std: cleanup asm usage
After fixing some issues with inline assembly in the C backend, the std
cleanups have the side effect of making these functions compatible with
the backend, allowing it to be used on linux without linking libc.
Diffstat (limited to 'test/behavior')
| -rw-r--r-- | test/behavior/fn.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/fn.zig b/test/behavior/fn.zig index e7b7e63e33..1a5becc6b0 100644 --- a/test/behavior/fn.zig +++ b/test/behavior/fn.zig @@ -151,6 +151,7 @@ fn fnWithUnreachable() noreturn { test "extern struct with stdcallcc fn pointer" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_c and builtin.cpu.arch == .x86) return error.SkipZigTest; if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; const S = extern struct { |
