Skip to content

Conversation

@dotcarmen
Copy link
Contributor

i'm not sure exactly which master release is associated with which changes, so this is best-guess

  • std.process.SpawnOptions.StdIo.Ignore -> std.process.SpawnOptions.StdIo.ignore
  • use std.process.Init.Minimal
    • build_runner.zig detects whether this usage is necessary or not and selects an entrypoint function based on the zig release version
  • std.Build.Graph has a new field cwd for the path of the cwd
  • std.Build.Watch also gained a new param cwd_path which is now propagated

@dotcarmen
Copy link
Contributor Author

for some reason there's a segfault in std.Build.create, i believe it's an upstream issue but i'm looking into it

@xdBronch
Copy link
Contributor

xdBronch commented Jan 6, 2026

that segfault is happening with a 0xaa pointer and youre setting the graph to undefined, looks very related

@dotcarmen
Copy link
Contributor Author

🤦🏻‍♀️ yup, you're right. i got distracted with other things, i'll fix that in a little bit...

@dotcarmen dotcarmen force-pushed the handle-zig-process-env-breaking-changes branch from 359d9b1 to bd5d2c0 Compare January 7, 2026 01:08
@dotcarmen
Copy link
Contributor Author

fixed, though now there's an error in lsp-kit since it uses the deprecated args iterator api. i see zigtools/lsp-kit#32 is already opened, once that's merged then i can update build.zig.zon and then this should be mergeable :)

@dotcarmen
Copy link
Contributor Author

ah i forgot the nix flake update step, i unfortunately deleted nix from my system, if a maintainer could do that before merging that'd be great :)

@Techatrix
Copy link
Member

#2556 got merged instead.

@Techatrix Techatrix closed this Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants