From 00485d6cd8eda67ea66527be8de38d7b243a9309 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 12 Mar 2021 08:36:52 -0600 Subject: [PATCH] Enable 'exception' feature to hopefully catch and surface ObjC exceptions. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9015098..ed29fcd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ speech-dispatcher = "0.7" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] cocoa-foundation = "0.1" libc = "0.2" -objc = "0.2" +objc = { version = "0.2", features = ["exception"] } [target.wasm32-unknown-unknown.dependencies] wasm-bindgen = "0.2"