File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ FROM chef AS builder
1414COPY --from=planner /app/recipe.json recipe.json
1515# Build dependencies - this is the caching Docker layer!
1616RUN cargo chef cook --release --package interop-tests --target wasm32-unknown-unknown --recipe-path recipe.json
17- RUN RUSTFLAGS='-C target-feature=+crt-static' cargo chef cook --release --package interop-tests --target x86_64-unknown-linux-gnu --bin wasm_ping --recipe-path recipe.json
17+ RUN cargo chef cook --release --package interop-tests --bin wasm_ping --recipe-path recipe.json
1818# Build application
1919COPY . .
2020RUN wasm-pack build --target web interop-tests
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN cargo chef prepare --recipe-path recipe.json
99FROM chef AS builder
1010COPY --from=planner /app/recipe.json recipe.json
1111# Build dependencies - this is the caching Docker layer!
12- RUN RUSTFLAGS='-C target-feature=+crt-static' cargo chef cook --release --package interop-tests --target $(rustc -vV | grep host | awk '{print $2}') --bin native_ping --recipe-path recipe.json
12+ RUN cargo chef cook --release --package interop-tests --bin native_ping --recipe-path recipe.json
1313# Build application
1414COPY . .
1515RUN RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --package interop-tests --target $(rustc -vV | grep host | awk '{print $2}') --bin native_ping
You can’t perform that action at this time.
0 commit comments