hyperlight-dev / hyperlight-dev/hyperlight
Weak Link a default implementation of `c_guest_dispatch_function` in `hyperlight_guest_capi`
Aperta
lifecycle/confirmed
- Lingua principale
- Rust
- Stelle
- 4.7k
- Fork
- 208
- Merge medio
- 1g 7h
- PR unite (30g)
- 47
Descrizione
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)
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.