Skip to content

Commit

Permalink
ci: don't use target-cpu native (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka authored Dec 14, 2024
1 parent 1ac35ae commit e785f91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
Dockerfile
.git/
.gitignore
.env
.env
.cargo/config.toml
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Define base arguments for versioning and optimization
ARG RUST_NIGHTLY_VERSION=nightly-2024-11-29
ARG RUST_TARGET_CPU=native
ARG RUSTFLAGS="-C target-cpu=${RUST_TARGET_CPU} -Z share-generics=y -Z threads=8 --cfg tokio_unstable"
ARG RUSTFLAGS="-Z share-generics=y -Z threads=8"
ARG CARGO_HOME=/usr/local/cargo

# Use Ubuntu as base image
Expand Down

0 comments on commit e785f91

Please sign in to comment.