We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ee44bd commit c18f2ccCopy full SHA for c18f2cc
core/Makefile
@@ -146,8 +146,6 @@ ifdef CI_MAYBE_TARGET
146
endif
147
148
149
-# TODO: may need to override crate type now: cargo rustc -- --crate-type=staticlib
150
-# https://stackoverflow.com/questions/65012484/is-it-possible-to-override-the-crate-type-specified-in-cargo-toml-from-the-comma
151
$(rs_lib_dbg_static_cpy): FORCE $(dbg_prefix)
152
cd ./rs/bundle && cargo build $(RS_TARGET) --features static,omit_load_extension $(rs_build_flags)
153
cp $(rs_lib_dbg_static) $(rs_lib_dbg_static_cpy)
core/rs/bundle/Cargo.toml
@@ -8,7 +8,7 @@ license = "Apache 2"
8
9
[lib]
10
name = "crsql_bundle"
11
-crate-type = ["rlib"]
+crate-type = ["staticlib"]
12
13
# "cdylib" <-- only enable cdylib if loadable_extension is enabled
14
0 commit comments