From d4e87824269c913a44becea058269434133fa71b Mon Sep 17 00:00:00 2001 From: Brooks Townsend Date: Thu, 15 Aug 2024 13:07:32 -0400 Subject: [PATCH] fix: enable wasip2 feature for wasm32-wasip2 target Signed-off-by: Brooks Townsend --- url/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/url/src/lib.rs b/url/src/lib.rs index 33c6a738..d100b1dd 100644 --- a/url/src/lib.rs +++ b/url/src/lib.rs @@ -139,6 +139,7 @@ url = { version = "2", features = ["debugger_visualizer"] } feature = "debugger_visualizer", debugger_visualizer(natvis_file = "../../debug_metadata/url.natvis") )] +#![cfg_attr(all(target_os = "wasi", target_env = "p2"), feature(wasip2))] pub use form_urlencoded;