thi-ng / umbrella

⛱ Broadly scoped ecosystem & mono-repository of 199 TypeScript projects (and ~180 examples) for general purpose, functional, data driven development
https://thi.ng
Apache License 2.0
3.38k stars 150 forks source link

build(wasm-api): update build-v0.11.zig for zig master #391

Closed MarcusWagberg closed 1 year ago

MarcusWagberg commented 1 year ago

Due to changes to the zig build system in master, three small changes are needed to support zig v0.11.0-dev.2266+49e33a2f2

postspectacular commented 1 year ago

Ohh, thanks @MarcusWagberg - hadn't seen that one yet... would you also have a link/issue for reference? Thank you! 🙏

MarcusWagberg commented 1 year ago

This was due to this commit in zig master which changed std.Build.Step to include a owner: *std.Build field and removed the builder: *std.Build field from std.Build.CompileStep.

Therefore the pointer to std.Build is no longer stored in the parent struct e.g std.Build.CompileStep but in the std.Build.Step struct which is a field of the parent struct.

postspectacular commented 1 year ago

Awesome, thank you! Will release new versions later today!