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

Error trying to compile http_load_test: unknown feature stdsimd #190

Closed
josecelano opened this issue Mar 14, 2024 · 5 comments
Closed

Error trying to compile http_load_test: unknown feature stdsimd #190

josecelano opened this issue Mar 14, 2024 · 5 comments

Comments

@josecelano
Copy link
Contributor

The error:

error[E0635]: unknown feature `stdsimd`
  --> /home/josecelano/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.7/src/lib.rs:33:42
   |
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^

   Compiling rand_chacha v0.3.1
For more information about this error, try `rustc --explain E0635`.
error: could not compile `ahash` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.78.0-nightly (3b1717c05 2024-03-10)

I had the same problem and it was solved by upgrading the ahash crate.

@greatest-ape
Copy link
Owner

Thanks. Until I update dependencies, you should be able to build it using a stable compiler (but you probably already know that).

@josecelano
Copy link
Contributor Author

Thanks. Until I update dependencies, you should be able to build it using a stable compiler (but you probably already know that).

Yes, thank you. I've been running some tests with my computer.

@greatest-ape
Copy link
Owner

Adding support for torrust in https://github.com/greatest-ape/aquatic/tree/master/crates/bencher should be pretty simple, for testing systematically with multiple core counts. I don’t have time at the moment, but you could copy and adjust the chihaya runner.

@greatest-ape
Copy link
Owner

I’ve updated dependencies now, building on nightly should work again.

@josecelano josecelano changed the title Error tryuing to compile http_load_test: unknown feature stdsimd Error trying to compile http_load_test: unknown feature stdsimd Mar 18, 2024
@josecelano
Copy link
Contributor Author

I’ve updated dependencies now, building on nightly should work again.

It works.

cargo build --profile=release-debug -p aquatic_http_load_test
nightly-x86_64-unknown-linux-gnu (default)
rustc 1.78.0-nightly (3cbb93223 2024-03-13)

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