hyperlight-libc 0.16.0

This crate provides picolibc for Hyperlight guests. It builds the picolibc library and generates bindings to the libc types and functions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
NM="$1"
FILE="$2"
OUTPUT="$3"

"$NM" -g "$FILE" 2>/dev/null | grep ' [A-EG-MO-TVX-Z] ' | grep -v '__x86' | sort | uniq -d > "$OUTPUT"
if [ -e "$OUTPUT" ] && [ -s "$OUTPUT" ]; then
    echo "Duplicate names in ${FILE}"
    cat "$OUTPUT"
    exit 1
fi
exit 0