-
-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Labels
type: enhancementNew features and improvements to existing featuresNew features and improvements to existing features
Milestone
Description
As of now, this is what happens when you try to load a model (via fj-app -m path/to/model
) that doesn't build a dynamic library:
thread 'main' panicked at 'Error reloading model: LibLoading(DlOpen { desc: "target/debug/liberror.so: cannot open shared object file: No such file or directory" })', crates/fj-host/src/lib.rs:279:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
This should result in a nice error message that explains what it wrong and how to fix it. The fix would be to add the following to the model's Cargo.toml
:
[lib]
crate-type = ["cdylib"]
Metadata
Metadata
Assignees
Labels
type: enhancementNew features and improvements to existing featuresNew features and improvements to existing features