@@ -8,7 +8,7 @@ for embedded systems, making it well-suited for Hyperlight's micro-VM environmen
88
99The picolibc integration is controlled by the ` libc ` feature flag on the ` hyperlight-guest-bin `
1010crate (enabled by default). When enabled, the build script compiles picolibc from source using the
11- vendored submodule at ` src/hyperlight_guest_bin /third_party/picolibc ` .
11+ vendored submodule at ` src/hyperlight_libc /third_party/picolibc ` .
1212
1313The submodule points to [ picolibc-bsd] ( https://github.com/hyperlight-dev/picolibc-bsd ) , a
1414redistribution of picolibc with all copyleft-licensed files (GPL/AGPL) removed from the tree and
@@ -17,7 +17,7 @@ licensing details.
1717
1818## Host Function Stubs
1919
20- When the ` libc ` feature is enabled, the POSIX stubs in ` src/hyperlight_guest_bin/src/libc .rs `
20+ When the ` libc ` feature is enabled, the POSIX stubs in ` src/hyperlight_guest_bin/src/libc_stubs .rs `
2121provide C-compatible implementations of ` read ` , ` write ` , ` clock_gettime ` , ` gettimeofday ` , and other
2222functions that picolibc calls internally.
2323
@@ -66,11 +66,11 @@ To update picolibc to a new version:
66662 . Update the submodule in hyperlight:
6767
6868 ``` bash
69- cd src/hyperlight_guest_bin /third_party/picolibc
69+ cd src/hyperlight_libc /third_party/picolibc
7070 git fetch origin
7171 git checkout < new-fork-tag>
7272 cd ../../../..
73- git add src/hyperlight_guest_bin /third_party/picolibc
73+ git add src/hyperlight_libc /third_party/picolibc
7474 ```
7575
76763. Verify licensing: The fork' s CI runs scancode-toolkit to ensure no copyleft files are present.
0 commit comments