Skip to content

Reject an explicitly empty VEX_WAVEC override with an actionable error #127

Closed

Description

@LunaStev

Evidence

src/wavec.rs wavec_path filters out an empty VEX_WAVEC value and silently falls back to PATH. When a caller explicitly sets VEX_WAVEC to an empty string, Vex may run a different compiler than intended.

Acceptance criteria

  • Distinguish an unset VEX_WAVEC from an explicitly empty or whitespace-only override.
  • Reject the latter before invoking any compiler and explain how to unset it or provide a path.
  • Preserve PATH lookup when the variable is truly absent and explicit path behavior when valid.
  • Add process-level tests with a fake PATH wavec proving no fallback occurs for an empty override.
  • Document the override behavior.

Activity

  1. added
    bug
    good first issue
    ui/ux
    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

    buggood first issueui/uxwave compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions