diff options
| author | Jack O'Connor <[email protected]> | 2020-02-11 14:13:30 -0500 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2020-02-12 10:23:17 -0500 |
| commit | efbfa0463c793dc1319db10ca4e3b809937b227d (patch) | |
| tree | b643427eb38da8dc9b6548814e7e34966b604791 /test_vectors | |
| parent | b6b3c27824e665a73f77fd147da2052efff0ab8a (diff) | |
integrate assembly implementations into the blake3 crate
Diffstat (limited to 'test_vectors')
| -rw-r--r-- | test_vectors/Cargo.toml | 8 | ||||
| -rwxr-xr-x | test_vectors/cross_test.sh | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test_vectors/Cargo.toml b/test_vectors/Cargo.toml index 007d1c8..2a90e39 100644 --- a/test_vectors/Cargo.toml +++ b/test_vectors/Cargo.toml @@ -3,10 +3,16 @@ name = "test_vectors" version = "0.0.0" edition = "2018" +[features] +default = [] +c = ["blake3/c"] +c_prefer_intrinsics = ["blake3/c_prefer_intrinsics"] +c_neon = ["blake3/c_neon"] + [dependencies] # If you ever change these path dependencies, you'll probably need to update # cross_test.sh, or CI will break. I'm sorry >.< -blake3 = { path = "../", features=["c_avx512"] } +blake3 = { path = "../" } hex = "0.4.0" reference_impl = { path = "../reference_impl" } serde = { version = "1.0", features = ["derive"] } diff --git a/test_vectors/cross_test.sh b/test_vectors/cross_test.sh index 1f6a34b..c4d280c 100755 --- a/test_vectors/cross_test.sh +++ b/test_vectors/cross_test.sh @@ -19,7 +19,7 @@ mv blake3/test_vectors . mv blake3/reference_impl test_vectors mv blake3 test_vectors cd test_vectors -sed -i 's|blake3 = { path = "../", features=\["c_avx512"\] }|blake3 = { path = "./blake3" }|' Cargo.toml +sed -i 's|blake3 = { path = "../" }|blake3 = { path = "./blake3" }|' Cargo.toml sed -i 's|reference_impl = { path = "../reference_impl" }|reference_impl = { path = "reference_impl" }|' Cargo.toml cross test "$@" |
