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

For non-MSVC, separate flags/options from the input file. (#513) #514

Merged
merged 1 commit into from May 11, 2022

Commits on Jun 10, 2020

  1. For clang-cl, separate flags/options from input file to avoid `-Wslas…

    …h-u-filename`. (rust-lang#513)
    
    This avoids a `clang-cl` issue common when cross-compiling from macOS
    to Windows: the `-Wslash-u-filename` where a `/Users/...` path is
    interpreted as the `cl.exe` flag `/U`.
    
    Not all compilers recognize `--` so this is limited to `clang-cl`.
    
    There are no existing tests mocking out `clang-cl` and surface efforts
    didn't succeed, so that will have to wait for follow-up.
    ncalexan committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    4468df2 View commit details
    Browse the repository at this point in the history