Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Runner] Improve compile-only flags checks and fix objc wrapper #148

Closed
wants to merge 1 commit into from

Commits on May 18, 2021

  1. [Runner] Improve compile-only flags checks and fix objc wrapper

    The `objc` wrapper is currently roughly equivalent to `clang -x objective-c`,
    the problem is that `-x <LANG>` can't be used when linking, otherwise the
    compiler driver will assume that the input files are plain text source code
    files.
    
    As a simple rule, we assume that we are compiling (as opposed to linking) when
    no argument is an object file (ending with `.o` extension) and make the `objc`
    wrapper pass the `-x objective-c` flag only when compiling (and not linking),
    instead of doing so unconditionally.
    giordano committed May 18, 2021
    Configuration menu
    Copy the full SHA
    ffd577b View commit details
    Browse the repository at this point in the history