homebrew-musl-cross
cargo-lipo
Our great sponsors
homebrew-musl-cross | cargo-lipo | |
---|---|---|
3 | 2 | |
521 | 512 | |
- | - | |
5.2 | 4.4 | |
14 days ago | 3 months ago | |
Ruby | Rust | |
ISC License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
homebrew-musl-cross
-
Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
Or with musl-cross:
https://github.com/FiloSottile/homebrew-musl-cross
It works pretty well! It's a thing you might keep in your back pocket to test builds from your ARM dev machine on a dev host, and then let the CI/CD system build the real version later.
-
M1 Users - How are you Cross Compiling?
The musl-cross tap: https://github.com/FiloSottile/homebrew-musl-cross
-
Build on mac M1
BUT! If you need some cross-compile, which usually we did by homebrew-musl (AWS Lambda, for example), currently this is not working without several unstable workarounds. Github issue: https://github.com/FiloSottile/homebrew-musl-cross/issues/23
cargo-lipo
-
Build on mac M1
Yes. You can target aarch64 and x86_64. Universals binaries can be created manually or via cargo-lipo.
-
Building Rust libraries for iOS in 2021
When I created the library a few years ago, the go-to way for this was cargo-lipo. That worked fine when building for aarch64-apple-ios and x86_64-apple-ios, but when building both for ARM64 iOS and M1 the linker fails:
What are some alternatives?
rust - Empowering everyone to build reliable and efficient software.
ObjCrust - Using Rust to create an iOS static library
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
cargo-mobile - Rust on mobile made easy!
gosqlite - SQLite driver for the Go programming language
glean - Modern cross-platform telemetry
go-sqlite-bench - Benchmarks for Golang SQLite Drivers
Cargo - The Rust package manager
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
creator - A state management library that enables concise, fluid, readable and testable business logic code.
audiopus_sys - Rust FFI-binding of Opus.
cross - “Zero setup” cross compilation and “cross testing” of Rust crates