regression after usingnamespace changes #9705
Labels
arch-x86
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
os-openbsd
regression
It worked in a previous version of Zig, but stopped working.
standard library
This issue involves writing Zig code for the standard library.
Milestone
I am not able to building to OpenBSD i386 anymore. I am suspecting that FreeBSD is also impacted for all archs except x86_64.
i386 architecture doesn't have
ucontext_t
definition instd/c/openbsd.zig
. Previously, it wasn't a problem as the segfault handler is installed only if the struct was defined.Currently, it seems that
@hasDecl(os.system, "ucontext_t")
istrue
even ifucontext_t
doesn't exist instd.c.openbsd.arch_bits
. It might be because ofos.zig
is definingpub const ucontext_t = system.ucontext_t
(so it lazily exists).I could provide a script to create libc.conf environment for i386-openbsd if it helps to reproduce the problem.
The text was updated successfully, but these errors were encountered: