launchdarkly / c-client-sdk

LaunchDarkly Client-side SDK for C/C++
Other
7 stars 15 forks source link

Providing a universal macOS binary in the official releases #92

Open mstrater opened 1 year ago

mstrater commented 1 year ago

Is your feature request related to a problem? Please describe. An app that supports only the x86_64 architecture must run under Rosetta translation on Apple silicon which is less efficient. A universal binary solves this problem.

Describe the solution you'd like It'd be great if the official releases could include a precompiled universal macOS binary.

Describe alternatives you've considered At the moment, we are just compiling the universal binaries ourselves manually from source.

Additional context Here's the official documentation about universal macOS binaries: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary

cwaldren-ld commented 1 year ago

Hi @mstrater , thank you for the request. I believe the only barrier to doing this is that CircleCI (our continuous integration service) doesn't yet provide Apple Silicon executors, so we couldn't guarantee that the code is tested to the same standard as x86_64.

For example, we wouldn't be running the unit test nor other integration tests with the Universal binary.

Would that be an issue for you?

Filed internally as 176881.

mstrater commented 1 year ago

@cwaldren-ld No, I don't think that would be an issue. 😃