AEAD tests: Address wasm32-wasi build warning & clarify use
.
This commit is contained in:
parent
2986d15484
commit
1c476cd20c
@ -48,11 +48,10 @@ macro_rules! test_aead {
|
|||||||
$(
|
$(
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
mod $alg { // Provide a separate namespace for each algorithm's test.
|
mod $alg { // Provide a separate namespace for each algorithm's test.
|
||||||
#[cfg(not(target_arch = "wasm32"))]
|
|
||||||
use super::super::*;
|
use super::super::*;
|
||||||
|
|
||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
|
||||||
use super::super::{*, test};
|
use wasm_bindgen_test::wasm_bindgen_test as test;
|
||||||
|
|
||||||
test_known_answer!(
|
test_known_answer!(
|
||||||
$alg,
|
$alg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user