mirror of
https://github.com/isar/rusqlite.git
synced 2025-02-22 15:58:14 +08:00
fix
This commit is contained in:
parent
97f041d6be
commit
c9e1da8977
@ -44,7 +44,6 @@ winsqlite3 = []
|
||||
openssl-sys = { version = "0.9", optional = true }
|
||||
|
||||
[target.wasm32-unknown-unknown.dependencies]
|
||||
compiler-rt-builtins = "0.1"
|
||||
wasm32-unknown-unknown-openbsd-libc = "0.2"
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -262,6 +262,8 @@ mod build_bundled {
|
||||
|
||||
cfg.flag("-DSQLITE_OS_OTHER")
|
||||
.flag("-DSQLITE_TEMP_STORE=3")
|
||||
// https://github.com/rust-lang/rust/issues/74393
|
||||
.flag("-DLONGDOUBLE_TYPE=double")
|
||||
.flag("-DSQLITE_OMIT_LOCALTIME")
|
||||
.flag("-Wno-incompatible-library-redeclaration");
|
||||
|
||||
@ -289,8 +291,6 @@ mod build_bundled {
|
||||
cfg.include(
|
||||
std::env::var_os("DEP_WASM32_UNKNOWN_UNKNOWN_OPENBSD_LIBC_INCLUDE").unwrap(),
|
||||
);
|
||||
|
||||
println!("cargo:rustc-link-lib=compiler-rt-builtins");
|
||||
println!("cargo:rustc-link-lib=wasm32-unknown-unknown-openbsd-libc");
|
||||
}
|
||||
if cfg!(feature = "unlock_notify") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user