File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN --mount=target=. \
1313
1414FROM chef AS builder
1515WORKDIR /app
16+ ENV RUSTFLAGS="--cfg tokio_unstable"
1617COPY --from=planner /recipe.json recipe.json
1718RUN cargo chef cook --release --recipe-path recipe.json
1819RUN --mount=target=. \
@@ -26,7 +27,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
2627 rm -rf /var/lib/apt/lists/*
2728
2829WORKDIR /app
29-
30+ ENV RUSTFLAGS= "--cfg tokio_unstable"
3031COPY --from=builder /app-target/release/rollup-node /bin/
3132
3233EXPOSE 30303 30303/udp 9001 8545 8546
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN cargo install cargo-chef --locked
88
99FROM chef AS planner
1010WORKDIR /app
11-
11+ ENV RUSTFLAGS="--cfg tokio_unstable"
1212COPY . .
1313# Hacky: Replace tests with dummy stub to avoid workspace member issues of top-level Cargo.toml.
1414# This is needed because within the Docker integration tests we don't need the tests crate
@@ -27,6 +27,7 @@ RUN cargo chef prepare --recipe-path /recipe.json
2727
2828FROM chef AS builder
2929WORKDIR /app
30+ ENV RUSTFLAGS="--cfg tokio_unstable"
3031COPY --from=planner /recipe.json recipe.json
3132RUN --mount=type=cache,target=/usr/local/cargo/registry \
3233 --mount=type=cache,target=/usr/local/cargo/git \
You can’t perform that action at this time.
0 commit comments