This is an automated email from the ASF dual-hosted git repository.

dingyu pushed a commit to branch v2.0.0-preview
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git


The following commit(s) were added to refs/heads/v2.0.0-preview by this push:
     new 7f34a672 Fix error typo
     new 6346c099 Merge pull request #382 from jnigri/fix/typo-error-in-v2
7f34a672 is described below

commit 7f34a67249f99484c7fa9c9735f1a4ad809df8f3
Author: Julien Nigri <[email protected]>
AuthorDate: Wed May 4 12:12:42 2022 +0200

    Fix error typo
---
 sgx_crypto/sgx_crypto_sys/build.rs | 2 +-
 sgx_libc/sgx_tlibc_sys/build.rs    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sgx_crypto/sgx_crypto_sys/build.rs 
b/sgx_crypto/sgx_crypto_sys/build.rs
index b93a3679..595ebaeb 100644
--- a/sgx_crypto/sgx_crypto_sys/build.rs
+++ b/sgx_crypto/sgx_crypto_sys/build.rs
@@ -29,7 +29,7 @@ fn main() -> Result<(), &'static str> {
     let target = env::var("TARGET").expect("TARGET was not set");
     let host = env::var("HOST").expect("HOST was not set");
 
-    build_libtcrypto(&host, &target).map_err(|_| "Faile to build crypto 
library.")
+    build_libtcrypto(&host, &target).map_err(|_| "Failed to build crypto 
library.")
 }
 
 fn build_libtcrypto(host: &str, _target: &str) -> Result<(), ()> {
diff --git a/sgx_libc/sgx_tlibc_sys/build.rs b/sgx_libc/sgx_tlibc_sys/build.rs
index c9a26614..bc1d5f43 100644
--- a/sgx_libc/sgx_tlibc_sys/build.rs
+++ b/sgx_libc/sgx_tlibc_sys/build.rs
@@ -29,9 +29,9 @@ fn main() -> Result<(), &'static str> {
     let target = env::var("TARGET").expect("TARGET was not set");
     let host = env::var("HOST").expect("HOST was not set");
 
-    build_libtlibc(&host, &target).map_err(|_| "Faile to build tlibc 
library.")?;
+    build_libtlibc(&host, &target).map_err(|_| "Failed to build tlibc 
library.")?;
 
-    build_libtsafecrt(&host, &target).map_err(|_| "Faile to build tsafecrt 
library.")
+    build_libtsafecrt(&host, &target).map_err(|_| "Failed to build tsafecrt 
library.")
 }
 
 fn build_libtlibc(host: &str, _target: &str) -> Result<(), ()> {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to