Skip to content

Commit 39e249f

Browse files
committed
fix: replace target-cpu=native with x86-64 for server compatibility
Made-with: Cursor
1 parent 3f70b0c commit 39e249f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

development/qnet-integration/Dockerfile.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ WORKDIR /build
2020
COPY . .
2121

2222
# Build the specific binary with maximum optimization for production
23-
ENV RUSTFLAGS="-C target-cpu=native"
23+
ENV RUSTFLAGS="-C target-cpu=x86-64"
2424
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
2525
ENV CARGO_HTTP_MULTIPLEXING=false
2626
ENV CARGO_NET_RETRY=10

0 commit comments

Comments
 (0)