diff options
| author | Jethro Beekman <jethro@fortanix.com> | 2018-08-27 21:33:26 -0700 |
|---|---|---|
| committer | Jethro Beekman <jethro@fortanix.com> | 2018-12-07 11:26:50 +0530 |
| commit | 4a3505682e97c8e667338056ae216e4b84b22dd7 (patch) | |
| tree | 64f04641da2097afb5c6a386f8e26a36a2687e6e /src/libstd/io | |
| parent | c559216ad0d2f0737f8dbb51a7d42b1727b77b3c (diff) | |
| download | rust-4a3505682e97c8e667338056ae216e4b84b22dd7.tar.gz rust-4a3505682e97c8e667338056ae216e4b84b22dd7.zip | |
Add x86_64-fortanix-unknown-sgx target to libstd and dependencies
The files src/libstd/sys/sgx/*.rs are mostly copied/adapted from the wasm target. This also updates the dlmalloc submodule to the very latest version.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/error.rs b/src/libstd/io/error.rs index 386de080b85..32e29962760 100644 --- a/src/libstd/io/error.rs +++ b/src/libstd/io/error.rs @@ -184,7 +184,7 @@ pub enum ErrorKind { } impl ErrorKind { - fn as_str(&self) -> &'static str { + pub(crate) fn as_str(&self) -> &'static str { match *self { ErrorKind::NotFound => "entity not found", ErrorKind::PermissionDenied => "permission denied", |
