Skip to content

Commit

Permalink
Fix path to rustc wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Oct 30, 2024
1 parent 65fe8d3 commit 9d8c267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain "${RUST_VERSION}" && \
rustup install stable && \
rustup target add ${TARGET} && \
TARGET_CPU=${TARGET_CPU} RUSTC=/work/rustc.wrap cargo build --offline --target ${TARGET} --bin laya --release && \
TARGET_CPU=${TARGET_CPU} RUSTC=/work/share/rustc.wrap cargo build --offline --target ${TARGET} --bin laya --release && \
mkdir /out/ && mv /work/target/${TARGET}/release/laya /out/ && rm -Rf /work

FROM scratch
Expand Down

0 comments on commit 9d8c267

Please sign in to comment.