Skip to content

Remove unreachable raw-wavec validation branches from Vex preflight #130

Closed

Description

@LunaStev

Evidence

src/validate.rs models compiler flags such as --link-only, --emit=obj, --shared, -C relocation-model, archives, and raw inputs. The public Vex CLI rejects raw wavec flags and src/commands/build.rs constructs only manifest-selected .wave input, --run, --emit=check, target, release, and dry-run. The extra validator surface can drift as Wave evolves without serving a Vex command.

Acceptance criteria

  • Inventory which preflight cases can actually be reached from Vex commands.
  • Replace unreachable raw-compiler policy with a smaller Vex-owned validation surface without adding raw wavec flags.
  • Preserve current user-facing behavior and exact wavec dry-run schema checks.
  • Keep regression tests for build/run/check, target, runtime arguments, and raw-flag rejection.
  • Document how future manifest-owned build options will be validated rather than restoring a generic wavec wrapper.

Coordinate with #27 and #40.

Activity

  1. added
    build
    refactor
    technical debt
    wave compatibility
    on Sep 22, 2026
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

    buildrefactortechnical debtwave compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions