Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine static and shared library rules #285

Open
2 tasks
aherrmann opened this issue Apr 30, 2024 · 0 comments
Open
2 tasks

Refine static and shared library rules #285

aherrmann opened this issue Apr 30, 2024 · 0 comments

Comments

@aherrmann
Copy link
Owner

Related to #15.
See ziglang/zig#19753 for further context.
Take Bazel's cc_shared_library rule as reference.

  • Rename zig_library to zig_static_library to be explicit and consistent with zig_shared_library.
  • Clearly distinguish between link time and build time dependencies, i.e. archives or shared libraries that need to be linked against whenever the zig_*_library target is used, and object or archive dependencies that need to be bundled into the output of the zig_*_library target.
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

No branches or pull requests

1 participant