]> git.lizzy.rs Git - rust.git/commitdiff
fix SGX build failures
authorRalf Jung <post@ralfj.de>
Sun, 10 Feb 2019 18:08:49 +0000 (19:08 +0100)
committerRalf Jung <post@ralfj.de>
Sun, 10 Feb 2019 18:08:49 +0000 (19:08 +0100)
src/libstd/sys/sgx/ext/arch.rs

index 3bd87b5d2657403910e3b3d3c2efb344b95b8cb9..97f7d9181a53906c5a023c07c990fb14eda4d8d8 100644 (file)
@@ -41,7 +41,7 @@
         );
 
         match error {
-            0 => Ok(out.into_inner()),
+            0 => Ok(out.into_initialized()),
             err => Err(err),
         }
     }
@@ -69,6 +69,6 @@ pub fn ereport(
               "{rdx}"(report.as_mut_ptr())
         );
 
-        report.into_inner()
+        report.into_initialized()
     }
 }