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

Do not unconditionally succeed RUSTC_WRAPPER checks when run by build scripts #13010

Merged
merged 1 commit into from Aug 13, 2022

Commits on Aug 13, 2022

  1. Do not unconditionally succeed RUSTC_WRAPPER checks when run by build…

    … scripts
    
    rust-analyzer's RUSTC_WRAPPER unconditionally succeeds `cargo check`
    invocations tripping up build scripts using `cargo check` to probe for
    successful compilations. To prevent this from happening the RUSTC_WRAPPER
    now checks if it's run from a build script by looking for the
    `CARGO_CFG_TARGET_ARCH` env var that cargo sets only when running build
    scripts.
    Veykril committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    72ae308 View commit details
    Browse the repository at this point in the history