One way to call and register functions
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Read the host and guest call entry points, the guest registration APIs, and the WIT code generation path; the issue does not name specific files or tests. Map where call, call_host, call_host_function, register_fn, and register_function are used, then check the changes in issue #1987 before scoping the API updates. Done means the proposed deprecations and removal are addressed, dynamic host calls are available, and WIT codegen uses register_fn.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Each operation has several entry points with different costs:
- Host calls:
call, and the deprecatedcall_guest_function_by_name. - Guest calls to the host:
call_host, andcall_host_function, which takes an ownedVec<ParameterValue>. - Guest registration:
#[guest_function],register_fn, andregister_functionwith a hand-built definition.
Proposal:
- Remove
call_guest_function_by_name. - Add guest
call_host_dynamic(name, &[ParameterValueRef], ReturnType)for runtime signatures. Deprecatecall_host_function. - Deprecate
register_functionandprint_output_with_host_print. Switch WIT codegen toregister_fn.
Builds on #1987.
- Lenguaje dominante
- Rust
- Estrellas
- 4.8k
- Forks
- 223
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 65
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hyperlight-dev/hyperlight
-
A-api C-bug S-confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
hyperlight-dev/hyperlight#2135 ·
Los mantenedores suelen responder en 1 día
-
C-bug S-confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
hyperlight-dev/hyperlight#2136 ·
Los mantenedores suelen responder en 1 día
-
C-bug S-confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hyperlight-dev/hyperlight#2132 ·
Los mantenedores suelen responder en 1 día
-
C-bug S-confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
hyperlight-dev/hyperlight#2133 ·
Los mantenedores suelen responder en 1 día
-
A-ci A-fuzzing C-bug S-confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hyperlight-dev/hyperlight#2134 ·
Los mantenedores suelen responder en 1 día
Todos los issues de hyperlight-dev/hyperlight
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
roc-lang/basic-webserver#277 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
samkerrcode/opengent#113 ·
Los mantenedores suelen responder en 1 día
-
app bug session
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día