Skip to content

Commit e785f91

Browse files
ci: don't use target-cpu native (#718)
1 parent 1ac35ae commit e785f91

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
Dockerfile
33
.git/
44
.gitignore
5-
.env
5+
.env
6+
.cargo/config.toml

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Define base arguments for versioning and optimization
22
ARG RUST_NIGHTLY_VERSION=nightly-2024-11-29
3-
ARG RUST_TARGET_CPU=native
4-
ARG RUSTFLAGS="-C target-cpu=${RUST_TARGET_CPU} -Z share-generics=y -Z threads=8 --cfg tokio_unstable"
3+
ARG RUSTFLAGS="-Z share-generics=y -Z threads=8"
54
ARG CARGO_HOME=/usr/local/cargo
65

76
# Use Ubuntu as base image

0 commit comments

Comments
 (0)