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 Cargo's target information when possible #1225

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    268fb9b View commit details
    Browse the repository at this point in the history
  2. Use Cargo's target information when possible

    rustc's target triples generally only have a vague resemblance to each
    other and to the information needed by `cc`. Let's instead prefer
    `CARGO_CFG_*` variables when available, since these contain the
    information directly from the compiler itself.
    
    In the cases where it isn't available (i.e. when running outside of a
    build script), we fall back to parsing the target triple, but instead of
    doing it in an ad-hoc fashion with string manipulation, we do it in a
    more structured fashion up front.
    madsmtm committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0b60b02 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Remove unnecessary derive

    madsmtm committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f4446b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    74c9897 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5bb25a5 View commit details
    Browse the repository at this point in the history
  3. Remove redundant test

    madsmtm committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    f857326 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5ade71f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c7adfe View commit details
    Browse the repository at this point in the history
  6. Fix after merge

    madsmtm committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1ce8dd6 View commit details
    Browse the repository at this point in the history
  7. Appease clippy

    madsmtm committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1d2bafc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    36b3bb7 View commit details
    Browse the repository at this point in the history
  9. Fix test

    madsmtm committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1117c50 View commit details
    Browse the repository at this point in the history
  10. Fix a few more tests

    madsmtm committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    8da1265 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e7e5b67 View commit details
    Browse the repository at this point in the history