Skip to content

Conversation

@iacore
Copy link

@iacore iacore commented Sep 7, 2023

No description provided.

@iacore iacore changed the title Fix build.zig to be used as dependency Fix build.zig to be used as dependency, and various other changes. Dec 27, 2023
@linusg
Copy link
Contributor

linusg commented Jan 6, 2024

Vendor bdwgc source

That is most definitely not required to make this work, see linusg@c6ec34e

@plajjan
Copy link

plajjan commented Jan 16, 2024

@linusg @iacore FYI, the upstream bdwgc library now has a build.zig file so rather than pulling in bdwgc as a git submodule I think that could be used as a zig package dependency. It supports way more compilation options etc.

@linusg
Copy link
Contributor

linusg commented Jan 17, 2024

Nice, thanks for the heads-up :)

I think that means I can retire https://codeberg.org/linusg/zig-build-libgc and update my fork to use this directly, will look into that.

@iacore
Copy link
Author

iacore commented Jan 17, 2024

FYI, the upstream bdwgc library now has a build.zig file

https://github.com/ivmai/bdwgc/blame/2ba7381b61be371ffdbfcaf84e6a4ff19e0b43cc/build.zig#L18

const zig_min_required_version = "0.12.0-dev.2015";

The last stable Zig version is 0.11.0.

@glyh
Copy link

glyh commented Jun 26, 2024

FYI the upstream bdwgc build.zig doesn't provide the package as a zig module, which is preferred to being used as a dependency for any zig program.

@iacore
Copy link
Author

iacore commented Sep 19, 2025

I've updated this library to be used with Zig 0.15.1.
0.14.1 is a bit broken.

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.

4 participants