// ============================================================ // Smoke test for trusty-sqlite-ext. // // A loadable SQLite extension is only meaningfully exercised by // actually dlopen'ing the built .dll / .so from a host SQLite // binary — that is out of scope for `cargo test`. Here we settle // for a compile-time smoke test: if this file builds, the cdylib // has linked and exports are resolvable by name. // ============================================================ #[test] fn extension_builds_as_cdylib() { // Intentionally trivial. The real verification is: // cargo build -p trusty-sqlite-ext // producing target/debug/trusty_sqlite_ext.dll with // sqlite3_trustysqliteext_init exported. assert!(true); }