Closed syedelec closed 1 year ago
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.
Thanks, it worked! :rocket:
Hi
I am building a TA and want to use openssl on normal world side, when I add the following in
host/Cargo.toml
:openssl = { version = "0.10", features = ["vendored"] }
I have the following error:
The same happens if I add manually serde in
host/Cargo.toml
. I saw that it's supported in serde-rs example. So in order to work with serde, I need to copy the serde-rs example and starts from there otherwise I have the same error.Thanks