Skip to content

Commit 1410545

Browse files
committed
wip: set defaults
1 parent f5ac0aa commit 1410545

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/rust/Earthfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ src:
2020
build:
2121
FROM +src
2222

23-
ARG OS
24-
ARG ARCH
23+
ARG USEROS
24+
ARG USERARCH
25+
26+
ARG OS=$USEROS
27+
ARG ARCH=$USERARCH
2528
ARG TARGET=$(./cross.sh ${OS}/${ARCH})
2629

2730
DO rust+CROSS --target ${TARGET}

0 commit comments

Comments
 (0)