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

Find alternative means for exposing configurable build flags. #6

Open
lithdew opened this issue Nov 18, 2020 · 0 comments
Open

Find alternative means for exposing configurable build flags. #6

lithdew opened this issue Nov 18, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@lithdew
Copy link
Owner

lithdew commented Nov 18, 2020

Pike right now has three configurable build flags:

  • pike_task: struct type representing an asynchronous task.
  • pike_batch struct type representing a batch of asynchronous tasks.
  • pike_notifier struct type representing an I/O notifier implementation.

They are overridable via @import("root") at the moment, which is not the best option. Ideally, these flags should be configurable in build.zig for example. Rust exposes configurable build flags via Cargo.toml, in which libraries can configure flags for library dependencies they themselves depend on. Still need to figure out the best option in Zig.

@lithdew lithdew added the help wanted Extra attention is needed label Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant