Skip to content

Commit e159df0

Browse files
magodoCopilot
andauthored
Update sdk/typespec/typespec_client_core/src/async_runtime/mod.rs
Co-authored-by: Copilot <[email protected]>
1 parent 14c155f commit e159df0

File tree

1 file changed

+1
-1
lines changed
  • sdk/typespec/typespec_client_core/src/async_runtime

1 file changed

+1
-1
lines changed

sdk/typespec/typespec_client_core/src/async_runtime/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ pub fn set_async_runtime(runtime: Arc<dyn AsyncRuntime>) -> crate::Result<()> {
192192
}
193193

194194
fn create_async_runtime() -> Arc<dyn AsyncRuntime> {
195-
#[cfg(all(feature = "wasm-bindgen", target_arch = "wasm32"))]
195+
#[cfg(all(target_arch = "wasm32", feature = "wasm-bindgen"))]
196196
{
197197
Arc::new(web_runtime::WasmBindgenRuntime) as Arc<dyn AsyncRuntime>
198198
}

0 commit comments

Comments
 (0)