apache / incubator-teaclave-trustzone-sdk

Teaclave TrustZone SDK enables safe, functional, and ergonomic development of trustlets.
https://teaclave.apache.org
Apache License 2.0
216 stars 61 forks source link

Error: Unresolved import 'self::inner' #98

Open HakonToemte opened 1 year ago

HakonToemte commented 1 year ago

Hey I'm trying to add the third party crate chrono to my TA. After adding chrono = "0.4.22" to my TA Cargo.toml, running "make" inside my example returns this error: image

I know it's related to the chrono crate because the example compiles fine when i remove chrono from the toml. Adding chrono to the CA also compiles fine.

My .toml dependencies looks like this:

[dependencies] chrono = "0.4.22" libc = { path = "../../../rust/libc" } proto = { path = "../proto" } optee-utee-sys = { path = "../../../optee-utee/optee-utee-sys" } optee-utee = { path = "../../../optee-utee" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0"

Any idea what could be the source of this? Thanks again :)