fix: enable load-dynamic ORT feature for breadpad-test
Some checks failed
release / build (push) Failing after 1m29s

ort::init_from requires the load-dynamic feature; breadpad-test calls
it to load libonnxruntime.so from a runtime path.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Breadway 2026-06-11 14:53:23 +08:00
parent 5406fcdf61
commit 8c2b2e419e
2 changed files with 12 additions and 1 deletions

11
Cargo.lock generated
View file

@ -1862,6 +1862,16 @@ version = "0.2.186"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
[[package]]
name = "libloading"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60"
dependencies = [
"cfg-if",
"windows-link",
]
[[package]]
name = "libredox"
version = "0.1.17"
@ -2138,6 +2148,7 @@ version = "2.0.0-rc.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7de3af33d24a745ffb8fab904b13478438d1cd52868e6f17735ef6e1f8bf133"
dependencies = [
"libloading",
"ndarray 0.17.2",
"ort-sys",
"smallvec",