From f6d4c0aedf102211142fa5fadf5b466e541eafa3 Mon Sep 17 00:00:00 2001 From: Louis <836250617@qq.com> Date: Sat, 3 Feb 2024 15:22:11 +0800 Subject: [PATCH] action --- .github/workflows/release.yaml | 7 +------ Cargo.toml | 5 +++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e248d47..39bbcf2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,12 +15,7 @@ jobs: strategy: fail-fast: false matrix: - target: - [ - x86_64-pc-windows-gnu, - x86_64-unknown-linux-musl, - x86_64-apple-darwin, - ] + target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl] steps: - uses: actions/checkout@master diff --git a/Cargo.toml b/Cargo.toml index 7376360..5211314 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,3 +42,8 @@ protobuf-codegen = { version = "3" } [features] default = ["bili"] bili = [] + +[profile.release] +lto = true +opt-level = 3 +codegen-units = 1