Skip to content

Find alternative means for exposing configurable build flags. #6

@lithdew

Description

@lithdew

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions