mirror of
https://github.com/hexagonal-sun/moss-kernel.git
synced 2026-07-30 10:06:24 -04:00
better logging
This commit is contained in:
@@ -50,7 +50,7 @@ fi
|
||||
|
||||
# Build and copy over usertest
|
||||
cd "$base"/usertest
|
||||
usertest_binary="$(cargo build --message-format=json | jq -r 'select(.reason == "compiler-artifact") | .filenames[]' | grep "usertest")"
|
||||
usertest_binary="$(cargo build --message-format=json-render-diagnostics | jq -r 'select(.reason == "compiler-artifact" and .target.name == "usertest") | .executable // empty')"
|
||||
cp "$usertest_binary" "$base/build/rootfs/bin/usertest"
|
||||
|
||||
# make image
|
||||
|
||||
Reference in New Issue
Block a user