Elminate ENV VAR to configure build
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- build-system
Research direction
Start by locating where the build reads the environment variable and how the guest runtime is selected. Review the existing build configuration before deciding how the runtime and any native-library or precompiled-runtime paths should be specified without that variable. Done means the build no longer depends on the environment variable and still selects the guest runtime successfully.
Written by the indexing model from the issue text.
Description
I am not a big fan of using env-vars to configure the build, but it works.
In the future I would like to explore if we can use a macro to specify the guest runtime, we can specify native libraries to add as arguments to the macro, or the path to a precompiled runtime, etc.
But that would be a major refactor, and this is good enough.
Originally posted by @jprendes in https://github.com/hyperlight-dev/hyperlight-js/pull/49#pullrequestreview-4618377333
- 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 ·
-
lifecycle/needs-review
Difficulty 3/5 1-2 days Newbie friendliness 68/100
hyperlight-dev/hyperlight-js#296 ·
-
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 ·
All issues in hyperlight-dev/hyperlight-js
Similar issues
-
risk:low runtime status:in-progress type:test
Difficulty 1/5 Under an hour Newbie friendliness 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EricSpencer00/Resilient#4835 · 1 comment ·
-
agent:ready documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
cesarferreira/stax#890 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100