Skip to content

Fix MacOS compile#724

Merged
richox merged 1 commit intoapache:masterfrom
cxzl25:support_mac_m_compile
Dec 26, 2024
Merged

Fix MacOS compile#724
richox merged 1 commit intoapache:masterfrom
cxzl25:support_mac_m_compile

Conversation

@cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Dec 26, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

CpuId is a specific x86 library, compilation will fail on Mac.

[ERROR] [main] error[E0599]: no function or associated item named `new` found for struct `CpuId` in the current scope
[ERROR] [main]    --> native-engine/blaze/src/rt.rs:106:20
[ERROR] [main]     |
[ERROR] [main] 106 |             CpuId::new()
[ERROR] [main]     |                    ^^^ function or associated item not found in `CpuId<_>`
[ERROR] [main]     |
[ERROR] [main] note: if you're trying to build a new `CpuId<_>` consider using one of the following associated functions:

Are there any user-facing changes?

No

@richox richox merged commit 3ad1e9f into apache:master Dec 26, 2024
@richox richox mentioned this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants