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