Skip to content

Commit

Permalink
fix cannot produce pro-macro as the target x86_64-unknown-linux-musl …
Browse files Browse the repository at this point in the history
…does not support these crate types from rust-lang/cargo#7563
  • Loading branch information
Evian-Zhang committed May 2, 2020
1 parent 6130f4f commit 169a033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM rust:alpine AS builder
WORKDIR /app

COPY . .
RUN cargo build --release
RUN RUSTFLAGS="-C target-feature=-crt-static" cargo build --release

FROM alpine

Expand Down

0 comments on commit 169a033

Please sign in to comment.