Dynamic library - undefined symbol / Library type problem

I'm trying build project with actix and libmodbus-rs.
Actix is used in plugin_interfaces, libmodbus-rs in plugin.

When I running plugin_test:

Path: /home/mhanusek/work/actix-test/plugin_test/../plugin/target/debug/libplugin.so
thread 'main' panicked at 'called Result::unwrap() on an Err value: Custom { kind: Other, error: "/home/mhanusek/work/actix-test/plugin_test/../plugin/target/debug/libplugin.so: undefined symbol: ZN77$LT$alloc..raw_vec..RawVec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h74b71179e6a199cbE" }', src/libcore/result.rs:1188:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

My Code :
My Repo - click me

I'm solved this problem.

crate-type=["rlib", "cdylib"]
instead of
crate-type=["dylib"]

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.