Skip to content

Remove the explicit type annotation from optimize #42

Open

Description

@MasonRemaley

Remove the explicit type annotation from optimize when Zig 0.18.0 is the minimum supported version. Also revisit whether translate C accepts an optional optimization mode at this point (or whether it wants one at all.)

Activity

  1. jayschwa commented on Oct 21, 2026

    @jayschwa
    Collaborator

    https://codeberg.org/ziglang/zig/commit/21141cb88a130fb113f8c17647bae34ae74efa05 reverted the change that motivated #41. It's probably fine to leave the type annotation in SDL's build.zig for now in case the upstream change is reapplied again at some point during the 0.18.0-dev cycle.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions