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)]
|
||||
mod $alg { // Provide a separate namespace for each algorithm's test.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use super::super::*;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
use super::super::{*, test};
|
||||
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
|
||||
use wasm_bindgen_test::wasm_bindgen_test as test;
|
||||
|
||||
test_known_answer!(
|
||||
$alg,
|
||||
|
Loading…
x
Reference in New Issue
Block a user