01mf02 / jaq

A jq clone focussed on correctness, speed, and simplicity
MIT License
2.61k stars 63 forks source link

Build failure on 1.80 nightly and Windows #178

Closed clin1234 closed 2 months ago

clin1234 commented 2 months ago

Running cargo install --all-features --locked --git https://github.com/01mf02/jaq fails to compile:

error[E0635]: unknown feature `stdsimd`
  --> C:\Users\ךינשגכהד\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ahash-0.8.6\src/lib.rs:99:42
   |
99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^

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...
error: could not compile `ahash` (lib) due to 1 previous error
error: failed to compile `jaq v1.3.0 (https://github.com/01mf02/jaq#7baed83d)`, intermediate artifacts can be found at `C:\Users\0BAC~1\AppData\Local\Temp\cargo-install20BWIe`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

tkaitchuck/aHash#227 explains the issue.

01mf02 commented 2 months ago

This is a duplicate of #176.

01mf02 commented 2 months ago

Oops, I'm sorry, this is actually a different issue. Does cd728e2 resolve it? (According to https://github.com/tkaitchuck/aHash/issues/227, it should.)

clin1234 commented 2 months ago

Compiles now.