feat(duckdb): move support to standalone driver

This commit is contained in:
t8y2 committed 2026-07-30 00:50:39 +08:00
1 parent ed018dbc77
commit d347c77c3d
76 files changed
+5400 -8258

No files matched your search

-10
View File
@@ -2,15 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
#[cfg(feature = "duckdb-bundled")]
if std::env::args().any(|arg| arg == "--duckdb-worker") {
let runtime = tokio::runtime::Runtime::new().expect("Failed to create DuckDB worker runtime");
if let Err(err) = runtime.block_on(dbx_core::db::duckdb_worker_runtime::run_stdio_worker()) {
eprintln!("DuckDB worker failed: {err}");
std::process::exit(1);
}
return;
}
dbx_lib::run();
}