trustwallet / wallet-core

Cross-platform, cross-blockchain wallet library.
https://developer.trustwallet.com/wallet-core
Apache License 2.0
2.79k stars 1.57k forks source link

[Misc]: Improve build scripts, configure bootstrap.sh #4040

Open satoshiotomakan opened 2 days ago

satoshiotomakan commented 2 days ago

Description

Configure bootstrap.sh so it installs all dependencies required for development and using of WalletCore. Improve existing build scripts by better parsing command line arguments. For example, ./tools/generate-files and ./tools/rust-bindgen now support multiple targets at once.

How to test

Types of changes

Checklist

github-actions[bot] commented 2 days ago

Binary size comparison

➡️ aarch64-apple-ios: 12.13 MB

➡️ aarch64-apple-ios-sim: 12.14 MB

➡️ aarch64-linux-android: 15.57 MB

➡️ armv7-linux-androideabi: 13.29 MB

➡️ wasm32-unknown-emscripten: 11.03 MB