hyperlight-dev / hyperlight-dev/hyperlight
Weak Link a default implementation of `c_guest_dispatch_function` in `hyperlight_guest_capi`
未关闭
lifecycle/confirmed
- 主要语言
- Rust
- 星标
- 4.7k
- 派生
- 208
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 47
描述
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)
贡献指南
评估
这个 Issue 还没有评估数据。