Skip to content

Commit 88d5aa6

Browse files
Move fortanix module position in std::os reexports for alpha sort
1 parent 64354a9 commit 88d5aa6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

library/std/src/os/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ pub mod raw;
1414
// documented don't compile (missing things in `libc` which is empty),
1515
// so just omit them with an empty module and add the "unstable" attribute.
1616

17-
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
18-
pub mod fortanix_sgx;
19-
2017
// Unix, linux, wasi and windows are handled a bit differently.
2118
#[cfg(all(
2219
doc,
@@ -103,6 +100,8 @@ pub mod dragonfly;
103100
pub mod emscripten;
104101
#[cfg(target_os = "espidf")]
105102
pub mod espidf;
103+
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
104+
pub mod fortanix_sgx;
106105
#[cfg(target_os = "freebsd")]
107106
pub mod freebsd;
108107
#[cfg(target_os = "fuchsia")]

0 commit comments

Comments
 (0)