We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79045e0 + 79bb5e8 commit 4b9c928Copy full SHA for 4b9c928
jump-start.sh
@@ -22,6 +22,10 @@ $ROC glue glue.roc crates ./platform/main.roc
22
23
cargo build --release
24
25
-cp target/release/libhost.a ./platform/libhost.a
+if [ -n "$CARGO_BUILD_TARGET" ]; then
26
+ cp target/$CARGO_BUILD_TARGET/release/libhost.a ./platform/libhost.a
27
+else
28
+ cp target/release/libhost.a ./platform/libhost.a
29
+fi
30
31
$ROC build --linker=legacy build.roc
0 commit comments