Skip to content

Commit c18f2cc

Browse files
committed
go back to staticlib
1 parent 4ee44bd commit c18f2cc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

core/Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ ifdef CI_MAYBE_TARGET
146146
endif
147147
endif
148148

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
151149
$(rs_lib_dbg_static_cpy): FORCE $(dbg_prefix)
152150
cd ./rs/bundle && cargo build $(RS_TARGET) --features static,omit_load_extension $(rs_build_flags)
153151
cp $(rs_lib_dbg_static) $(rs_lib_dbg_static_cpy)

core/rs/bundle/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "Apache 2"
88

99
[lib]
1010
name = "crsql_bundle"
11-
crate-type = ["rlib"]
11+
crate-type = ["staticlib"]
1212

1313
# "cdylib" <-- only enable cdylib if loadable_extension is enabled
1414

0 commit comments

Comments
 (0)