Closed
Description
ENV:
➜ cita-crypto git:(cache_ci_target) ✗ cargo --version
cargo 0.24.0-nightly (5bb478a51 2017-11-29)
➜ cita-crypto git:(cache_ci_target) ✗ rustc --version
rustc 1.24.0-nightly (8503b3ff8 2017-12-04)
It only works like cargo build --features 'sm2 sm3hash kafka'
,
but if I removed the quotes,
cargo build --features secp256k1 sha3hash
error: Invalid arguments.
Usage:
cargo build [options]
But both work for cargo test
➜ cita-crypto git:(cache_ci_target) ✗ cargo test --no-run --features "secp256k1 sha3hash"
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
➜ cita-crypto git:(cache_ci_target) ✗ cargo test --no-run --features secp256k1 sha3hash
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
so, why it's different? Is it a bug?
Metadata
Metadata
Assignees
Labels
No labels