hyperlight-dev / hyperlight-dev/hyperlight

Consider adding features to enable selected picolibc options

Aperta
#1,399 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
lifecycle/blocked-on-author
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
47

Descrizione

The non-defaults serve the hyperlight guest model: single-threaded, no TLS, no semihosting, no libc malloc since we provide rust allocator, verbose asserts for better debuggability, and some I/O performance tweaks discussed above like io buffering.

There are some knobs like wchar support that were needed to allow building baremetal libc++ against picolibc.

We can expose build settings but I would rather do that trough cargo features not env variables. That being said I'm not sure if we should proactively expose all the build tweaks or wait and see if any of this turns out to be problematic?

_Originally posted by @andreiltd in https://github.com/hyperlight-dev/hyperlight/pull/831#discussion_r2980243499_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.