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

Use full target spec for cargo rustc --print --target #12743

Merged
merged 1 commit into from
Sep 26, 2023

Commits on Sep 26, 2023

  1. Use full target spec for cargo rustc --print --target

    `cargo::ops::cargo_compile::print()` was using the shortname for the `--target` flag to rustc, but should be using the full target spec;  otherwise a JSON-specified target (e.g. `--target /path/to/some-custom-target.json`) will cause a rustc error such aborts
    
    `error: Error loading target specification: Could not find specification for target "some-custom-target". Run rustc --print target-list for a list of built-in targets`
    paulmenage committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    cb1b2ac View commit details
    Browse the repository at this point in the history