From 61f67b509ef9edca70e97bed29ab160174a1f193 Mon Sep 17 00:00:00 2001 From: Sachymetsu Date: Sat, 28 Feb 2026 20:25:06 +0100 Subject: [PATCH] Fix docker build for unstable tokio --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eccc82f..9fc3238 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN if [ "$TARGETPLATFORM" == "linux/amd64" ]; then echo "-C target-cpu=x86-6 else echo "Unsupported architecture $TARGETPLATFORM"; exit 1; \ fi -RUN RUSTFLAGS="$(cat /.target-cpu)" cargo zigbuild --release --locked --target "$(cat /.target)" && \ +RUN RUSTFLAGS="$(cat /.target-cpu) --cfg tokio_unstable" cargo zigbuild --release --locked --target "$(cat /.target)" && \ mv ./target/$(cat /.target)/release/nailpit . FROM gcr.io/distroless/static-debian13:latest AS runtime -- 2.51.2