It can be built on Windows. But It could not be built on Linux.
= note: /usr/bin/ld: __rust_realloc: undefined version: /usr/bin/ld: __rust_no_alloc_shim_is_unstable: undefined version: /usr/bin/ld: __rust_dealloc: undefined version: /usr/bin/ld: __rust_alloc_zeroed: undefined version: /usr/bin/ld: __rust_alloc_error_handler_should_panic: undefined version: /usr/bin/ld: __rust_alloc_error_handler: undefined version: /usr/bin/ld: __rust_alloc: undefined version: /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status
I checked all of other lib. I found the problem occurred when I add tera lib into this project.
My project's Cargo.toml same as below: `[lib] crate-type = ["dylib"]
[dependencies] anyhow = "1" log = "0.4" serde = { version = "1", features = ["derive"] } serde_json = "1" jsonpath-rust = "0.6.1" reqwest = { version ="0.12", features = ["json"] } tokio-cron-scheduler = "" uuid = "" tera = "1"`
It can be built on Windows. But It could not be built on Linux.
= note: /usr/bin/ld: __rust_realloc: undefined version: /usr/bin/ld: __rust_no_alloc_shim_is_unstable: undefined version: /usr/bin/ld: __rust_dealloc: undefined version: /usr/bin/ld: __rust_alloc_zeroed: undefined version: /usr/bin/ld: __rust_alloc_error_handler_should_panic: undefined version: /usr/bin/ld: __rust_alloc_error_handler: undefined version: /usr/bin/ld: __rust_alloc: undefined version: /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status
I checked all of other lib. I found the problem occurred when I add tera lib into this project.