pike icon indicating copy to clipboard operation
pike copied to clipboard

Find alternative means for exposing configurable build flags.

Open lithdew opened this issue 4 years ago • 0 comments

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 avatar Nov 18 '20 08:11 lithdew