Skip to content

Documentation: Conditional Compilation section needs improvement. #25966

Description

@WeeBull

The section "Options for Conditional Compilation" mainly consists of a code example, with very little explaination. In particular it's not obvious what the difference between (very similarly named) std.Build.option() and std.Build.addOptions() is and why both are needed. The documentation comments in the standard library don't really help either.

Best explanation I found was this blog post.

Activity

  1. added this to the upcoming milestone on Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions