Skip to content

Straightening up messy Apple compilations #664

Closed
@dot-asm

Description

@dot-asm

I would like to make a case for instead of endlessly struggling to map all those Apple-specific environment variables, e.g. like in #661 and #662, one would simply let xcrun do all the work. I mean instead of calling composing all sorts of command line options and passing them to cc, one would simply call xcrun -sdk [iphoneos|iphonesimulator|watchos|etc.] cc -arch [arm64|x86_64|armv7]. In other words, cc-rs would have to simply map Rust target triplet to a combination of -sdk and -arch parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-appleApple targets and toolchains

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions