@@ -9,6 +9,12 @@ extend = [
{ path = "scripts/makefile/flutter.toml" },
]
+[config]
+on_error_task = "catch"
+
+[tasks.catch]
+run_task = {name = ["restore-crate-type"]}
[env]
RUST_LOG = "info"
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
@@ -7,8 +7,8 @@ edition = "2018"
[lib]
name = "dart_ffi"
# this value will change depending on the target os
-# default cdylib
-crate-type = ["cdylib"]
+# default static lib
+crate-type = ["staticlib"]
[dependencies]