From 505aac2dc2908c46f2a37fcf97ef41f144d0d6eb Mon Sep 17 00:00:00 2001 From: damirka Date: Wed, 16 Jun 2021 14:48:29 +0300 Subject: [PATCH] fixes cargo config --- .cargo/config | 9 +++++++-- .github/workflows/release.yml | 3 --- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.cargo/config b/.cargo/config index 3351708311..f52152684f 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,2 +1,7 @@ -# [target.'cfg(any(not(target_arch = "wasm32"), feature = "noconfig"))'] -# rustflags = ["-C", "target-cpu=native"] +[target.'cfg( + all( + not(target_arch = "wasm32"), + not(feature = "noconfig") + ) +)'] +rustflags = ["-C", "target-cpu=native"] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index baf95bcd46..0795acf05c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,9 +94,6 @@ jobs: macos_m1: name: macOS M1 - strategy: - matrix: - compiler: [gcc, clang] runs-on: macos-latest steps: - name: Xcode Select