I’m attempting to use Zig on OpenBSD-current.
-
I’m attempting to use Zig on OpenBSD-current. I have to perform seemingly every action, from viewing
zig build —helpto actually building a project, as root. This hasn’t been a problem withmake, theuxnassembler, etc. What do I need to do to make this easier?(I am using zig-0.15.2 from the package repo; maybe I should be using the latest snapshot? I saw there were some OpenBSD-related changes made not that long ago but I figured the version available from ports would either work out of the box or give me instructions for making it work.)
-
@brettm I didn’t initialize the first projects that presented this problem, but I assume
zig initwasn’t run as root. I honestly don’t remember if I needed root permissions with my later tests—sleep-deprived and shouldn’t be awake right now—but I’ll double-check in a bit. -
R relay@relay.infosec.exchange shared this topic