This commit is contained in:
Simon Choi 2025-02-05 17:08:26 +01:00
parent 97f041d6be
commit c9e1da8977
2 changed files with 2 additions and 3 deletions

View File

@ -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]

View File

@ -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") {