Skip to content

zig build failure on MacOS aarch64 at "error: ToDo" in zig/src/link/MachO/DwarfInfo.zig #13269

Closed
@lordnoriyuki

Description

@lordnoriyuki

Zig Version

0.10.0-dev.4543+c1d44f73a

Steps to Reproduce

zig build fails on my project

Expected Behavior

zig build completes successfully.

Actual Behavior

zig build fails with

error: ToDo

during build-exe.

It fails at

else => return error.ToDo,

on the else block of the switch on form within
fn findFormSize(self: DwarfInfo, form: u64, di_off: usize, cuh: CompileUnit.Header) !usize

If I add some logging to see what form is, I get 0xc corresponding to

pub const flag = 0x0c;

This build used to succeed before the changes in #13260.

Metadata

Metadata

Assignees

Labels

bugObserved behavior contradicts documented or intended behaviorlinkingos-macos

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions