Trusty: provenance library workspace (initial import)

This commit is contained in:
2026-09-09 18:31:00 -04:00
commit 693f3bef1e
73 changed files with 26295 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
// ============================================================
// 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);
}