Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use std-aware cargo instead of sgx_tstd / xargo #75

Open
tarcieri opened this issue Feb 14, 2019 · 4 comments
Open

Use std-aware cargo instead of sgx_tstd / xargo #75

tarcieri opened this issue Feb 14, 2019 · 4 comments

Comments

@tarcieri
Copy link

This is mostly a heads up that design work is underway to allow parts of std to be swappable via cargo:

https://internals.rust-lang.org/t/pre-rfc-std-aware-cargo/9450

Would be good to make sure this feature meets the needs of rust-sgx-sdk

@dingelish
Copy link
Contributor

agree!

seems to be something like "core-customizable xargo". am i correct? it'll be fantastic for embedded systems and TEEs!

@elichai
Copy link
Contributor

elichai commented Nov 7, 2019

Merged :)
rust-lang/cargo#7216

Hopefully this can mean no longer maintaining any third party forks!

@dingelish
Copy link
Contributor

@elichai Wow! Let me dig into it. My current thought is that let me upgrade to Intel SGX SDK v2.7 and provide threading support in the current style. And then I think we should move forward to the std-aware rust toolchain!

@dingelish
Copy link
Contributor

dingelish commented Nov 8, 2019

The 3rd party problem still persists, because we may adjust something on file access such as tweaking std::untrusted::fs, or std::sgxfs. But I believe that some foundation crates would be fine without any modification such as serde and ring. For cpuid based feature detection, we do have a way to solve without triggering the unsupported instruction or any AEX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants