Skip to content

Unknown architecture for macOS target when we build psm #130844

Closed
@arttet

Description

@arttet

psm v0.1.21

Unknown architecture for macOS target.

  error: failed to run custom build command for `psm v0.1.21`
  
  Caused by:
    process didn't exit successfully: `/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/build/aarch64-apple-darwin/stage1-rustc/release/build/psm-1b74101f881f1a01/build-script-build` (exit status: 1)
    --- stdout
    OPT_LEVEL = Some(3)
    TARGET = Some(arm64e-apple-darwin)
    OUT_DIR = Some(/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/build/aarch64-apple-darwin/stage1-rustc/arm64e-apple-darwin/release/build/psm-0dfad8e82213aabd/out)
    HOST = Some(aarch64-apple-darwin)
    cargo:rerun-if-env-changed=CC_arm64e-apple-darwin
    CC_arm64e-apple-darwin = None
    cargo:rerun-if-env-changed=CC_arm64e_apple_darwin
    CC_arm64e_apple_darwin = Some(sccache cc)
    cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
    cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
    CRATE_CC_NO_DEFAULTS = None
    DEBUG = Some(false)
  
    --- stderr
  
  
    error occurred: Unknown architecture for macOS target.

See #130831
See #130719
See #130231
See rust-lang/cc-rs#1205

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions