Skip to content

Commit

Permalink
rust toolchain updated to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinZavior committed Apr 17, 2024
1 parent d6773dd commit 3e1fb1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/precompile_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ jobs:
profile: minimal
toolchain: stable
override: true

- name: Configure Cargo.toml optimizations
run: |
mkdir -p .cargo
echo "[profile.release]" >> .cargo/config.toml
echo "opt-level = 'z'" >> .cargo/config.toml
echo "lto = true" >> .cargo/config.toml
echo "codegen-units = 1" >> .cargo/config.toml
echo "panic = 'abort'" >> .cargo/config.toml
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
Expand All @@ -38,4 +45,4 @@ jobs:
working-directory: cargokit/build_tool
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
PRIVATE_KEY: ${{ secrets.CARGOKIT_PRIVATE_KEY }}
PRIVATE_KEY: ${{ secrets.CARGOKIT_PRIVATE_KEY }}
7 changes: 2 additions & 5 deletions rust/cargokit.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
cargo:
release:
toolchain: nightly
extra_flags:
- -Z
- build-std=panic_abort,std
toolchain: stable
precompiled_binaries:
url_prefix: https://github.com/LtbLightning/bdk-flutter/releases/download/precompiled_
public_key: 0e43d5e8452d00db7f3000c18fb1ba796babfcb5dc6306bb0629eff24f8be85b
public_key: 0e43d5e8452d00db7f3000c18fb1ba796babfcb5dc6306bb0629eff24f8be85b

0 comments on commit 3e1fb1e

Please sign in to comment.