hyperlight-dev / hyperlight-dev/hyperlight

Consider adding features to enable selected picolibc options

Open
#1,399 0 comments 0 reactions 0 assignees View on GitHub
lifecycle/blocked-on-author
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
47

Description

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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.