You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
Building on a Packet c1.large.arm (arm64, ThunderX) system I get this error:
error[E0425]: cannot find function `parse_x86_cpuid` in this scope
--> cranelift-native/src/lib.rs:45:9
|
45 | parse_x86_cpuid(&mut isa_builder)?;
| ^^^^^^^^^^^^^^^ not found in this scope
error: Could not compile `cranelift-native`.
is there arm64 support in this package? I did not expect to get this codepath.
The text was updated successfully, but these errors were encountered:
What happens is that the method exists if and only if we're on the expected target, but the way cfg!(...) is replaced by the boolean value at compile time, meaning that the resulting code is e.g. if true { parse_x86_cpuid(...) } (or on your platform, it'd be if false {).
I think we need to stub out the function in the other case, or use an additional dependency cfg-if to properly do this.
bnjbvr
added a commit
to bnjbvr/cranelift
that referenced
this issue
Mar 28, 2019
Building on a Packet c1.large.arm (arm64, ThunderX) system I get this error:
is there arm64 support in this package? I did not expect to get this codepath.
The text was updated successfully, but these errors were encountered: