feat(duckdb): move support to standalone driver
This commit is contained in:
76 files changed
+5400
-8258
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user