about summary refs log tree commit diff
path: root/library/std/src/os/fortanix_sgx
AgeCommit message (Collapse)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-6/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+8
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-17Avoid comments that describe multiple `use` items.Nicholas Nethercote-1/+0
There are some comments describing multiple subsequent `use` items. When the big `use` reformatting happens some of these `use` items will be reordered, possibly moving them away from the comment. With this additional level of formatting it's not really feasible to have comments of this type. This commit removes them in various ways: - merging separate `use` items when appropriate; - inserting blank lines between the comment and the first `use` item; - outright deletion (for comments that are relatively low-value); - adding a separate "top-level" comment. We also entirely skip formatting for four library files that contain nothing but `pub use` re-exports, where reordering would be painful.
2023-08-14sync the various FromRawFd trait docs, and remove 'valid'Ralf Jung-9/+14
2023-08-13add more explicit I/O safety documentationRalf Jung-1/+3
2022-08-22Export Cancel from std::os::fortanix_sgx::usercalls::rawMohsen Zohrevandi-1/+3
This was missed in https://github.com/rust-lang/rust/pull/100642
2022-08-16Update fortanix-sgx-abi and export some useful SGX usercall traitsMohsen Zohrevandi-0/+1
Update fortanix-sgx-abi to 0.5.0 to add support for cancel queue (see https://github.com/fortanix/rust-sgx/pull/405 and https://github.com/fortanix/rust-sgx/pull/404). Export some useful traits for processing SGX usercall. This is needed for https://github.com/fortanix/rust-sgx/pull/404 to avoid duplication.
2021-12-12Stabilize asm! and global_asm!Amanieu d'Antras-0/+1
They are also removed from the prelude as per the decision in https://github.com/rust-lang/rust/issues/87228. stdarch and compiler-builtins are updated to work with the new, stable asm! and global_asm! macros.
2021-06-22Rollup merge of #85054 - jethrogb:jb/sgx-inline-asm, r=AmanieuYuki Okushi-6/+6
Revert SGX inline asm syntax This was erroneously changed in #83387
2021-06-20Move `OsStringExt` and `OsStrExt` to `std::os`Christiaan Dirkx-1/+4
2021-05-07Revert SGX inline asm syntaxJethro Beekman-6/+6
This was erroneously changed in #83387
2021-05-03Move `std::sys::sgx::ext` to `std::os::fortanix_sgx`Christiaan Dirkx-2/+265
2020-07-27mv std libs to library/mark-0/+51