diff --git a/.cargo/config b/.cargo/config index 2ab779e9bc..7320d638b3 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,2 +1,2 @@ -[target.'cfg(all(not(target_arch = "wasm32"), not(feature = "noconfig")))'] +[target.'cfg(all(target_arch = "x86_64", target_os = "macos", not(feature = "noconfig)))'] rustflags = ["-C", "target-cpu=native"] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0795acf05c..5070ac6b3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,7 +67,7 @@ jobs: - name: Build Leo run: | - cargo build --package leo-lang --release --features noconfig && strip target/release/leo + cargo build --package leo-lang --release && strip target/release/leo env: CARGO_NET_GIT_FETCH_WITH_CLI: true