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

feat: Query rustc for clang target triples instead of hardcoding them #1004

Merged
merged 9 commits into from
Mar 15, 2024

Commits on Mar 9, 2024

  1. Add new workspace crate gen-target-info

    For generating `src/target_info.rs`, and use it to simplify
    riscv target arch mapping logic in `Build::add_default_flags`
    
    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    9d45f70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6161e8 View commit details
    Browse the repository at this point in the history
  3. Fix msrv: Use edition 2018 in workspace gen-target-info

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    6541ea5 View commit details
    Browse the repository at this point in the history
  4. Fix gen-target-info: Generate formatted rust code

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    22ef3fe View commit details
    Browse the repository at this point in the history
  5. Fix gen-target-info

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    5505ce0 View commit details
    Browse the repository at this point in the history
  6. Format Cargo.toml

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    f7b04cf View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Configuration menu
    Copy the full SHA
    f1baca9 View commit details
    Browse the repository at this point in the history
  2. Refactor: Extract new fn generate_riscv_arch_mapping

    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    2cc4f4a View commit details
    Browse the repository at this point in the history
  3. Add doc for the target_info.rs to warn against manually editing the…

    … file
    
    Signed-off-by: Jiahao XU <[email protected]>
    NobodyXu committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    2894654 View commit details
    Browse the repository at this point in the history