Skip to content

Copy the generated guest runtime into OUT_DIR #547

Closed

Description

@ludfjig

The generated runtime binary is stored under target/hyperlight-wasm-runtime, outside OUT_DIR. Cached builds can therefore use a stale or missing runtime. This is annoying and should be fixed by copying the final binary into OUT_DIR (I think this would fix it), and include_bytes! the file in OUT_DIR instead of external file

Activity

  1. ludfjig commented on Sep 15, 2026

    @ludfjig
    ContributorAuthor
    cargo build --release --features pulley
    cargo build --release
    

    Running this should embed the native runtime, but it embedded the pulley instead. Workaorund: cargo clean -p hyperlight-wasm --release before each build

  2. added a commit that references this issue on Sep 21, 2026
    6b14df7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions