Copy the generated JS runtime into OUT_DIR
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- build-system
Research direction
Trace the build logic that produces target/hyperlight-js-runtime and the include_bytes! reference. Verify how OUT_DIR is handled during clean and cached builds. Done means the final runtime binary is copied into OUT_DIR and include_bytes! reads that copy, avoiding stale or missing cached runtimes.
Written by the indexing model from the issue text.
Description
The generated runtime binary is stored under target/hyperlight-js-runtime, outside OUT_DIR. Cached builds can therefore use a stale or missing runtime. This is annoying and should be fixed, I believe by copying the final binary to OUT_DIR, and include_bytes! the file in OUT_DIR instead of the external location.
Relates to https://github.com/hyperlight-dev/hyperlight-wasm/issues/547
- Dominant language
- Rust
- Stars
- 13
- Forks
- 5
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 13
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hyperlight-dev/hyperlight-js
-
lifecycle/needs-review
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
lifecycle/needs-review
Difficulty 5/5 Over a week Newbie friendliness 35/100
hyperlight-dev/hyperlight-js#312 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
hyperlight-dev/hyperlight-js#252 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
hyperlight-dev/hyperlight-js#249 ·
-
lifecycle/needs-review
Difficulty 4/5 3-5 days Newbie friendliness 35/100
hyperlight-dev/hyperlight-js#223 ·
All issues in hyperlight-dev/hyperlight-js
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·