hyperlight-dev / hyperlight-dev/hyperlight

Weak Link a default implementation of `c_guest_dispatch_function` in `hyperlight_guest_capi`

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

Description

Implement a default implementation of `hyperlight_guest_capi` and then weak link it so a guest is not forced to provide a default implementation.

Since Rust weak linkage is an unstable feature, we should consider adding this as a C implementation with `__attribute__((weak))` in the meantime.

See [here](https://github.com/hyperlight-dev/hyperlight/blob/main/src/hyperlight_guest_capi/src/dispatch.rs#L49)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.