Skip to content

Compilation error on x86_64h-apple-darwin #234

Closed
@NobodyXu

Description

@NobodyXu

https://github.com/cargo-bins/cargo-binstall/actions/runs/13194668463/job/36833691220#step:8:473

  CMake Error at /opt/homebrew/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:129 (message):
    The C compiler targets architectures:

      "x86_64;x86_64h"

    but CMAKE_OSX_ARCHITECTURES is

      "x86_64"

  Call Stack (most recent call first):
    /opt/homebrew/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)
    CMakeLists.txt:37 (project)

cargo-bins/cargo-binstall#2036 error happens when bumping cc-rs from 1.2.10 to 1.2.12, however not sure if this is a cc-rs bug or cmake-rs bug, so I decided to open an issue here first

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions