Add std::os::fortanix_sgx module#56978
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
src/libstd/Cargo.toml
Outdated
There was a problem hiding this comment.
Diff: fortanix/rust-sgx@769d806 (adding stability attributes)
src/libstd/os/mod.rs
Outdated
|
cc @jsakkine-intel |
|
I don't think it's reasonable for I would suggest calling this either (For clarity, I don't think it makes sense for any other ABI to get the name |
8dc1c6a to
8a665ad
Compare
8a665ad to
dcb5db8
Compare
|
Ok, changed to |
|
Thanks! @bors r+ |
|
📌 Commit dcb5db8 has been approved by |
Add `std::os::fortanix_sgx` module This PR adds the `std::os::sgx` module to expose platform-specific APIs behind the `sgx_platform` feature gate. Depends on rust-lang#56972 to be able to meaningfully build `std::os` documentation for non-standard targets. Tracking issue: rust-lang#56975
Rollup of 10 pull requests Successful merges: - #55470 (box: Add documentation for `From` impls) - #56242 (Add missing link in docs) - #56944 (bootstrap: Link LLVM as a dylib with ThinLTO) - #56978 (Add `std::os::fortanix_sgx` module) - #56985 (Allow testing pointers for inboundedness while forbidding dangling pointers) - #56986 (rustc: Move jemalloc from rustc_driver to rustc) - #57010 (Actually run compiletest tests on CI) - #57021 (Enable emission of alignment attrs for pointer params) - #57074 (Fix recursion limits) - #57085 (librustc_codegen_llvm: Don't eliminate empty structs in C ABI on linux-sparc64) Failed merges: r? @ghost
This PR adds the
std::os::sgxmodule to expose platform-specific APIs behind thesgx_platformfeature gate.Depends on #56972 to be able to meaningfully build
std::osdocumentation for non-standard targets.Tracking issue: #56975