Skip to content

some x86_64 self-hosted backend std lib tests are disabled #15329

@andrewrk

Description

@andrewrk

The CI has test coverage for x86 backend standard library tests, however some of them are disabled:

$ grep -RI 'stage2_x86_64.*Skip' lib/std/
lib/std/simd.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/simd.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/simd.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/simd.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/crypto/utils.zig:    if (@import("builtin").zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/math/big/int_test.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/math/big/int_test.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/hash/xxhash.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/hash/xxhash.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
lib/std/hash/xxhash.zig:    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;

Once the above list becomes small enough, this issue can be split into several follow-up issues.

This is a prerequisite to making the x86_64 self-hosted backend the default backend for debug builds.

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-x86_6464-bit x86backend-self-hostedbugObserved behavior contradicts documented or intended behaviorenhancementSolving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    Status

    Ditch LLVM

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions