DemesneGH commented on issue #86: URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/86#issuecomment-1216102834
Hi @syedelec , > `openssl = { version = "0.10", features = ["vendored"] }` > > I have the following error: It seems `proc-macro2 v1.0.43` causes this error. There are some mismatches of dependencies. Pinning the `proc-macro2` and `quote` to the specific version solves this issue: ``` [dependencies] libc = "0.2.48" proto = { path = "../proto" } optee-teec = { path = "../../../optee-teec" } openssl = { version = "0.10", features = ["vendored"] } proc-macro2 = "=1.0.32" quote = "=1.0.10" ``` > The same happens if I add manually serde in `host/Cargo.toml` I tried to add `serde = "1.0"` in `hello_world-rs/host/Cargo.toml` and it worked. Suggest running `cargo update` after updating `Cargo.toml`. Because some dependencies of openssl may be retained in `Cargo.lock` when you try the `serde` case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For additional commands, e-mail: dev-h...@teaclave.apache.org