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

compiling error #3

Open
jianshu93 opened this issue Feb 21, 2022 · 1 comment
Open

compiling error #3

jianshu93 opened this issue Feb 21, 2022 · 1 comment

Comments

@jianshu93
Copy link

Hell team,

macOS core i7:

error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshift/src/xorshift_avx_ss8.rs:30:9
|
30 | asm!(
| ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm

error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshift/src/xorshift_avx_ss4.rs:27:9
|
27 | asm!(
| ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm

error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshift/src/xorshift_avx.rs:22:9
|
22 | asm!(
| ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm

Compiling xorshiro256plus v0.1.0 (https://github.com/zommiommy/vec_rand?branch=master#43472c1d)
error: could not compile xorshift due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshiro256plus/src/xorshiro256plus_avx_ss4.rs:35:9
|
35 | asm!(
| ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm

error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshiro256plus/src/xorshiro256plus_avx.rs:21:9
|
21 | asm!(
| ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm

error: build failed

Any idea why, I am using rust nightly 1.60

Thanks,

Jianshu

@zommiommy
Copy link
Owner

Sorry for the huge dealy, I tried fixing it. Now run a cargo update and check if the error is still present or not.

Currently it passes a cargo check in the next days I will try to setup an ARM Virtual machine.

Thank you for opening the issue.

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

No branches or pull requests

2 participants