tkaitchuck / aHash

aHash is a non-cryptographic hashing algorithm that uses the AES hardware instruction
https://crates.io/crates/ahash
Apache License 2.0
1.03k stars 101 forks source link

ahash: 0.8.1: Failed to parse expression #143

Closed QuentinPerez closed 1 year ago

QuentinPerez commented 1 year ago

👋

Since the 0.8.1, there is an issue with the parsing of the conditional compilation expression. Cargo-bazel fails on

Error: Failed to parse expression: 'cfg(any(target_arch = "wasm32", target_abi = "unknown"))'

Caused by:
    any(target_arch = "wasm32", target_abi = "unknown")
                                ^^^^^^^^^^ expected one of `target_arch`, `target_feature`, `target_os`, `target_family`, `target_env`, `target_endian`, `target_has_atomic`, `target_pointer_width`, `target_vendor` here

https://github.com/tkaitchuck/aHash/blob/master/Cargo.toml#L83-L89

tkaitchuck commented 1 year ago

Fixed