From 14105454167f97918d5ff44c0cffe0939eb465d9 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Wed, 18 Sep 2024 11:15:59 -0700 Subject: [PATCH] wip: set defaults --- examples/rust/Earthfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/rust/Earthfile b/examples/rust/Earthfile index 1549340..4b750ac 100644 --- a/examples/rust/Earthfile +++ b/examples/rust/Earthfile @@ -20,8 +20,11 @@ src: build: FROM +src - ARG OS - ARG ARCH + ARG USEROS + ARG USERARCH + + ARG OS=$USEROS + ARG ARCH=$USERARCH ARG TARGET=$(./cross.sh ${OS}/${ARCH}) DO rust+CROSS --target ${TARGET}