feat(core): port vulkan_loader_available from src-tauri

Adds libloading = "0.8" to magnotia-core dependencies and moves
vulkan_loader_available() into magnotia-core::hardware so non-Tauri
crates (transcription, llm) can probe the Vulkan loader without
depending on the Tauri binary. Test asserts the call completes on any
host regardless of whether libvulkan is installed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jars
2026-05-09 12:02:39 +01:00
parent 9c85c25b7f
commit b991355cb0
2 changed files with 42 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ sysinfo = "0.35"
async-trait = "0.1"
num_cpus = "1"
tracing = "0.1"
libloading = "0.8"
[dev-dependencies]
tempfile = "3"