We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e488a13 commit cc17d71Copy full SHA for cc17d71
1 file changed
sqlx-sqlite/src/lib.rs
@@ -78,6 +78,12 @@ pub(crate) use libsqlite3_sys as sqlite_lib;
78
#[cfg(any(target_arch = "wasm32", target_arch = "wasm64"))]
79
pub(crate) use sqlite_wasm_rs as sqlite_lib;
80
81
+#[cfg(all(
82
+ feature = "load-extension",
83
+ any(target_arch = "wasm32", target_arch = "wasm64")
84
+))]
85
+compile_error!("Sqlite on WASM does not support `load-extension`");
86
+
87
use std::sync::atomic::AtomicBool;
88
89
pub use arguments::{SqliteArgumentValue, SqliteArguments, SqliteArgumentsBuffer};
0 commit comments