Re: [apache/incubator-teaclave-sgx-sdk] V2.0.0 preview:can't build `pgx` crate with error:can't find crate for `proc_macro` (Issue #415)

2023-01-19 Thread xin201501
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:

Re: [apache/incubator-teaclave-sgx-sdk] V2.0.0 preview:can't build `pgx` crate with error:can't find crate for `proc_macro` (Issue #415)

2023-01-07 Thread xin201501
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

Re: [apache/incubator-teaclave-sgx-sdk] V2.0.0 preview:can't build `pgx` crate with error:can't find crate for `proc_macro` (Issue #415)

2023-01-07 Thread volcano
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

[apache/incubator-teaclave-sgx-sdk] V2.0.0 preview:can't build `pgx` crate with error:can't find crate for `proc_macro` (Issue #415)

2023-01-05 Thread xin201501
`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 =