apache / apache/teaclave-sgx-sdk

sgx target_env

Open
#113 3 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

How the `#[cfg(target_env = "sgx")]` in libstd, libc etc. affects this SDK?
is this the dream of SGX being integrated into the SDK?

will this SDK someday leverage that to natively compile rust code into sgx?

i.e. https://github.com/rust-lang/rust/blob/f843ad60ef5a78d8b4da85c5007d3ecac229f1a8/src/libstd/sys/mod.rs#L44

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Rust libstd sys/mod.rs entry point and inspect how the SDK handles `#[cfg(target_env = "sgx")]` in libstd and libc. Document whether this configuration is integrated into the SDK and whether Rust code can be natively compiled for SGX; the issue is done when these questions are answered clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.