Registry Mirror
Skip to content

implement the rest of the language features in the self-hosted x86 backend #21530

Closed

Description

@andrewrk

zig/src/target.zig

Lines 597 to 615 in 085cc54

.error_return_trace => switch (backend) {
.stage2_llvm => true,
else => false,
},
.is_named_enum_value => switch (backend) {
.stage2_llvm => true,
else => false,
},
.error_set_has_value => switch (backend) {
.stage2_llvm, .stage2_wasm => true,
else => false,
},
.field_reordering => switch (backend) {
.stage2_c, .stage2_llvm => true,
else => false,
},
.safety_checked_instructions => switch (backend) {
.stage2_llvm => true,
else => false,

Activity

  1. added
    enhancement
    arch-x86_64
    on Sep 27, 2024
  2. added this to the 0.14.0 milestone on Sep 27, 2024
  3. mlugg commented on Jan 29, 2025

    @mlugg
    Member

    safety_checked_instructions need not block #22257, because Sema has fallbacks (lowering the safety checks itself) which are used when this feature is unsupported.

  4. modified the milestones: 0.14.0, 0.15.0 on Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-x86_64backend-self-hostedenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions