Skip to content

Commit d7e3cbf

Browse files
committed
Fix cross compile issue
See rust-lang/cc-rs#82 and rust-lang/backtrace-rs#148
1 parent aef6eca commit d7e3cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN mkdir -p .cargo
1313
ADD docker/cargo.config .cargo/config
1414
ADD src ./src
1515

16-
RUN cargo build --target=armv7-unknown-linux-gnueabihf --release
16+
RUN CC=arm-linux-gnueabihf-gcc-6 cargo build --target=armv7-unknown-linux-gnueabihf --release
1717

1818
FROM arm32v7/debian:stable-slim
1919

0 commit comments

Comments
 (0)