Files
moss-kernel/scripts/deps/usertest
Matthew Leach 4cd9fab80b scripts: deps: usertest: new
Add a script to build the userspace test program and include it in the
initramfs.
2025-12-13 19:21:22 -08:00

9 lines
183 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
pushd "usertest" &>/dev/null || exit 1
cargo build
popd &>/dev/null || exit 1
cp ./target/aarch64-unknown-linux-musl/debug/usertest build/bin/