Skip to content

Model target-specific build configuration without raw wavec flags #54

Closed

Description

@LunaStev

Motivation

Wave supports hosted, freestanding, WebAssembly, linker, entry-point, sysroot, and target-specific behavior. Vex intentionally rejects raw wavec flags, but the manifest currently has no stable way to express package-level requirements for these build modes.

Proposed direction

Define high-level Vex manifest concepts and translate only those concepts to wavec.

Acceptance criteria

  • Identify the minimum stable settings required for hosted, freestanding, WASI, and bare WebAssembly packages.
  • Model entry points, output kind, native libraries, and supported linker requirements without arbitrary flag passthrough.
  • Allow target-conditional values through a documented target expression model.
  • Validate settings against wavec print target-spec --format=json.
  • Keep lockfile graph selection deterministic.
  • Add end-to-end dry-run fixtures for representative Wave targets.
  • Reject unsupported combinations before compilation.

Activity

  1. added
    build
    discussion
    feature request
    wave compatibility
    on Sep 18, 2026
  2. self-assigned this
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

builddiscussionfeature requestwave compatibility

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions