Skip to content

Commit

Permalink
Merge pull request #233 from roc-lang/jump-start-build-target
Browse files Browse the repository at this point in the history
target in jump-start.sh
  • Loading branch information
Anton-4 authored Jul 27, 2024
2 parents 15840fc + e0e5937 commit 79bb5e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jump-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ $ROC glue glue.roc crates ./platform/main.roc

cargo build --release

cp target/release/libhost.a ./platform/libhost.a
if [ -n "$CARGO_BUILD_TARGET" ]; then
cp target/$CARGO_BUILD_TARGET/release/libhost.a ./platform/libhost.a
else
cp target/release/libhost.a ./platform/libhost.a
fi

$ROC build --linker=legacy build.roc

0 comments on commit 79bb5e8

Please sign in to comment.