Remove the print_debug and build-metadata host cargo features
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
- 49/100
Línea de trabajo
Start by locating the hyperlight-host Cargo feature definitions and their uses, including the debug! macro and the two Hyperlight call sites mentioned in the issue. Review the host build script and build metadata logging to trace the built and git2 dependency. Done means both features and the macro are removed, with no remaining references and applications able to provide their own build detail logging.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Two hyperlight-host cargo features add cost without adding value.
print_debugmakes the exporteddebug!macro print to stdout in debug builds, in addition totracing::debug!. Its cfg is evaluated in the caller's crate, so the print never works for external users. Hyperlight itself uses the macro in two places, wheretracing::debug!gives the same output.build-metadatais on by default. It usesbuiltwithgit2to log build details on the first sandbox creation. Its git fields are empty for crates.io users.git2compiles libgit2 from C in every default build, on the critical path to the host build script.
Proposal: remove both features and the debug! macro. Applications that want build details can log them with their own tooling.
- Lenguaje dominante
- Rust
- Estrellas
- 4.8k
- Forks
- 222
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 60
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
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
hyperlight-dev/hyperlight#2089 ·
Los mantenedores suelen responder en 1 día
-
S-needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
hyperlight-dev/hyperlight#2073 ·
Los mantenedores suelen responder en 1 día
-
C-bug S-needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
hyperlight-dev/hyperlight#2056 ·
Los mantenedores suelen responder en 1 día
-
A-docs C-bug S-needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hyperlight-dev/hyperlight#2027 ·
Los mantenedores suelen responder en 1 día
-
S-needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
hyperlight-dev/hyperlight#1970 ·
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 64/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
-
tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
vfarcic/dot-agent-deck#2512 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
pop-os/cosmic-applets#1641 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
pop-os/cosmic-store#650 ·