Closed #415 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/415#event-8313066169
You are receiving this because you are subscribed to this thread.
Message ID:
Thanks!
**It compiles when only adding this crate `pgx` as a dependency and not using
it to write some functions.**(In other words no functions use this dependency).
When using it to write some Enclave functions,**the enclave part of my project
finishes compiling,but fails to link**:
```zsh
F
Thanks for reporting this issue. I solved it by adding `proc-macro` to sysroot.
I updated `template`, you can try to compile your project again.
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/415#issuecomment-1374504428
You are r
`pgx` is a crate to wirte custom functions to postgres database.
It has `no_std` features to turn off std,(but I think in v2.0.0 we don't have
to turn off std for most crates.)
I used the `project template` in the samplecode folder.
Here is my `Cargo.toml` file:
```cargo.toml
[package]
name = "sam