From 3b0298be54daadec3d15dd780cd605167e0db63e Mon Sep 17 00:00:00 2001 From: DataHearth Date: Wed, 16 Mar 2022 13:58:58 +0100 Subject: [PATCH] add --all-features to build --- Earthfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Earthfile b/Earthfile index 41084c4..c2c3b2a 100644 --- a/Earthfile +++ b/Earthfile @@ -11,11 +11,10 @@ WORKDIR /clear-docker-images build-linux: COPY . . - RUN rustup target add x86_64-unknown-linux-gnu RUN rustup target add x86_64-unknown-linux-musl - RUN cargo build --release --target x86_64-unknown-linux-gnu - RUN cargo build --release --target x86_64-unknown-linux-musl + RUN cargo build --release --all-features --target x86_64-unknown-linux-gnu + RUN cargo build --release --all-features --target x86_64-unknown-linux-musl SAVE ARTIFACT target/x86_64-unknown-linux-gnu /x86_64-unknown-linux-gnu AS LOCAL target/x86_64-unknown-linux-gnu SAVE ARTIFACT target/x86_64-unknown-linux-musl /x86_64-unknown-linux-musl AS LOCAL target/x86_64-unknown-linux-musl