File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ _unstable-docs = [
5454 " _unstable-all-sqlite-features" ,
5555]
5656
57- [target .'cfg(not(any(target_os = "wasi ", target_os = "emscripten ")))' .dependencies .libsqlite3-sys ]
57+ [target .'cfg(not(any(target_arch = "wasm32 ", target_arch = "wasm64 ")))' .dependencies .libsqlite3-sys ]
5858# See `sqlx-sqlite/src/lib.rs` for details.
5959version = " >=0.30.0, <0.36.0"
6060default-features = false
@@ -63,7 +63,7 @@ features = [
6363 " vcpkg" ,
6464]
6565
66- [target .'cfg(any(target_os = "wasi ", target_os = "emscripten "))' .dependencies ]
66+ [target .'cfg(any(target_arch = "wasm32 ", target_arch = "wasm64 "))' .dependencies ]
6767sqlite-wasm-rs = { version = " 0.4.3" , default-features = false , features = [" precompiled" ] }
6868
6969[dependencies ]
Original file line number Diff line number Diff line change 7272#[ macro_use]
7373extern crate sqlx_core;
7474
75- #[ cfg( not( any( target_os = "wasi " , target_os = "emscripten " ) ) ) ]
75+ #[ cfg( not( any( target_arch = "wasm32 " , target_arch = "wasm64 " ) ) ) ]
7676pub ( crate ) use libsqlite3_sys as sqlite_lib;
7777
78- #[ cfg( any( target_os = "wasi " , target_os = "emscripten " ) ) ]
78+ #[ cfg( any( target_arch = "wasm32 " , target_arch = "wasm64 " ) ) ]
7979pub ( crate ) use sqlite_wasm_rs as sqlite_lib;
8080
8181use std:: sync:: atomic:: AtomicBool ;
You can’t perform that action at this time.
0 commit comments