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

CLI compilation fails on Mac OS Sonoma (Apple silicon) #38

Closed
hertzquake opened this issue Nov 26, 2023 · 2 comments · Fixed by #39
Closed

CLI compilation fails on Mac OS Sonoma (Apple silicon) #38

hertzquake opened this issue Nov 26, 2023 · 2 comments · Fixed by #39
Assignees
Labels
bug Something isn't working

Comments

@hertzquake
Copy link

Version

v0.0.12

Operating system & version

Mac OS Sonoma 14.1 (Apple silicon)

What you did

I ran cargo install dexterous_developer_cli

What you expected to happen

The CLI should have compiled successfully

What actually happened

The compilation failed with this error:

error[E0428]: the name `LINKER_VAR` is defined multiple times
   --> /Users/x/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dexterous_developer_internal-0.0.12/src/hot/env.rs:140:5
    |
137 |     const LINKER_VAR: &str = "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER";
    |     ------------------------------------------------------------------------- previous definition of the value `LINKER_VAR` here
...
140 |     const LINKER_VAR: &str = "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER";
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `LINKER_VAR` redefined here
    |
    = note: `LINKER_VAR` must be defined only once in the value namespace of this module

Additional information

cfg(target_arch = "aarch64") and cfg(not(target_arch)) are both true

@lee-orr lee-orr self-assigned this Nov 29, 2023
@lee-orr lee-orr added the bug Something isn't working label Nov 29, 2023
@lee-orr lee-orr linked a pull request Nov 29, 2023 that will close this issue
@lee-orr
Copy link
Owner

lee-orr commented Nov 29, 2023

Thanks for reporting this! I'm waiting for my tests to run, and will publish a new version with the fix once it's validated.

@lee-orr
Copy link
Owner

lee-orr commented Dec 2, 2023

Looks like there were a few additional issues around Mac OS Sonoma & current rust/bevy (bevyengine/bevy#10524), as well as a break in the CI image for macos. Currently looks like both were fixed, but again waiting for the tests to confirm before pushing an update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants