apache / apache/teaclave-sgx-sdk

process module not found

Open
#402 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
268
PR merge metrics
No merged PRs in 30d

Description

proc-macro2-1.0.43 git:(master) ✗ cargo b --release
Compiling proc-macro2 v1.0.43 (/root/sgx/exp/lib/proc-macro2-1.0.43)
error[E0432]: unresolved imports `std::process`, `std::process`
--> build.rs:59:10
|
59 | use std::process::{self, Command};
| ^^^^^^^ ^^^^ no `process` in the root
| |
| could not find `process` in `std`

when i want to move proc-macro2 to Rust SGX, and i find an error in build.rs

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `cargo b --release` in proc-macro2-1.0.43 and inspect `build.rs` at line 59, where `std::process::{self, Command}` is imported. Check how Rust SGX provides or restricts `std::process`, then determine whether the build completes successfully in the SGX environment; the issue does not specify a target fix or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.