Skip to content

Commit 43219c4

Browse files
fixup! refactor(ffi/rs): export static PkiEnvironment constructor on wasm
1 parent 23a3ac3 commit 43219c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto-ffi/src/pki_env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl PkiEnvironment {
233233
}
234234

235235
/// Create a new PKI environment
236-
#[cfg(not(feature = "wasm"))]
236+
#[cfg(not(any(feature = "wasm", target_os = "unknown")))]
237237
#[uniffi::export]
238238
pub async fn create_pki_environment(
239239
hooks: Arc<dyn PkiEnvironmentHooks>,

0 commit comments

Comments
 (0)