hyperlight-dev / hyperlight-dev/hyperlight

Gracefully handle host function errors in guest C-API

Open
#974 1 comment 0 reactions 0 assignees View on GitHub
lifecycle/confirmed
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
48

Description

If a C guest calls a host function which returns an error, the rust c-api will panic. This is not great

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Rust C-API path used when a C guest calls a host function that returns an error. Reproduce the failure and follow the error propagation to identify where the panic occurs; done means the call reports the error gracefully without panicking.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, rust
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.