Brendonovich / prisma-client-rust

Type-safe database access for Rust
https://prisma.brendonovich.dev
Apache License 2.0
1.76k stars 104 forks source link

Apple Silicon Support? #273

Closed affanshahid closed 1 year ago

affanshahid commented 1 year ago

Why does this require installing Rosetta? I believe Prisma does provide binaries for Apple silicon: https://github.com/prisma/prisma/issues/5245

Brendonovich commented 1 year ago

I think Prisma only provide engine binaries, not CLI binaries. You compile the engines yourself as a dependency of PCR, but the CLI is prepackaged and requires Rosetta. Maybe M1 CLI builds are available but I'm not aware of them.

Brendonovich commented 1 year ago

With #276 using Rosetta would not be required