pike
pike copied to clipboard
Find alternative means for exposing configurable build flags.
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.