Skip to content

Use wavec from PATH by default - #7

Merged
LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:feat/use-path-wavec
Aug 6, 2026
Merged

LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:feat/use-path-wavec

Conversation

@LunaStev

@LunaStev LunaStev commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Run wavec from PATH by default.
  • Keep VEX_WAVEC=/path/to/wavec as an explicit compiler override.
  • Remove repository-specific and development-build compiler candidate discovery.

Why

The installed wavec now supports the dry-run schema v1 contract required by Vex. Searching Vex-adjacent and workspace build paths is no longer necessary and could select a different compiler than the one the user expects from PATH.

Impact

Vex remains a manifest-based package manager and continues validating the compiler dry-run plan before a real build. Compiler selection is now predictable: use VEX_WAVEC when set, otherwise execute wavec from PATH.

Validation

  • cargo fmt --check
  • cargo test --locked (10 passed)
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo build --locked
  • Smoke tested vex run with VEX_WAVEC unset; output: Hello World.
  • Smoke tested rejection of vex build --emit=obj as a raw compiler flag.

@LunaStev
LunaStev marked this pull request as ready for review August 6, 2026 15:33
@LunaStev
LunaStev merged commit ca73a74 into wavefnd:master Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant