hyperlight-dev / hyperlight-dev/hyperlight

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

Abierto
#195 0 comentarios 0 reacciones 0 asignados Ver en GitHub
lifecycle/confirmed
Lenguaje dominante
Rust
Estrellas
4.7k
Forks
208
Merge medio
1 d 7 h
PR fusionados (30 d)
47

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.