Skip to content

Re-export host function types through hyperlight_host#1314

Merged
jsturtevant merged 1 commit intomainfrom
rally/1286-consider-moving-the-hostfunctions-definitions-from
Mar 17, 2026
Merged

Re-export host function types through hyperlight_host#1314
jsturtevant merged 1 commit intomainfrom
rally/1286-consider-moving-the-hostfunctions-definitions-from

Conversation

@jsturtevant
Copy link
Contributor

@jsturtevant jsturtevant commented Mar 16, 2026

fixes: #1286

Host function definition types (HostFunctionDefinition, HostFunctionDetails, ParameterType) are currently only accessible via hyperlight_common, even though they primarily serve the host-side API. This makes it awkward for downstream consumers (e.g., hyperlight-wasm, hyperlight-js) that need to import these types alongside other host constructs.

Signed-off-by: James Sturtevant jsturtevant@gmail.com

@jsturtevant jsturtevant added area/dependencies Concerns dependencies or related components kind/dependencies For PRs that update dependencies or related components and removed area/dependencies Concerns dependencies or related components labels Mar 16, 2026
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
@jsturtevant jsturtevant force-pushed the rally/1286-consider-moving-the-hostfunctions-definitions-from branch from 2482c57 to 85192cc Compare March 16, 2026 21:52
@ludfjig
Copy link
Contributor

ludfjig commented Mar 16, 2026

What's this needed for? And maybe the PR title could be more accurate

@jsturtevant jsturtevant changed the title Re-export host functions from hyperlight host package Re-export host function types through hyperlight_host Mar 16, 2026
@jsturtevant
Copy link
Contributor Author

What's this needed for? And maybe the PR title could be more accurate

I added a description, For the title I also made a small update but not sure if there is something clearer.

@jsturtevant jsturtevant merged commit 4843473 into main Mar 17, 2026
60 of 64 checks passed
@jsturtevant jsturtevant deleted the rally/1286-consider-moving-the-hostfunctions-definitions-from branch March 17, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/dependencies For PRs that update dependencies or related components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider moving the hostfunctions definitions from Hyperlight common

3 participants