Skip to content

Commit be242a9

Browse files
committed
Fix sgx enclave name
1 parent a76fb0a commit be242a9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

sgx/gbdt-sgx-test/enclave/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "1.0.0"
44
authors = ["Baidu"]
55

66
[lib]
7-
name = "helloworldsampleenclave"
7+
name = "gbdtenclave"
88
crate-type = ["staticlib"]
99

1010
[features]

sgx/gbdt-sgx-test/enclave/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ all: $(Rust_Enclave_Name)
3737
$(Rust_Enclave_Name): $(Rust_Enclave_Files)
3838
ifeq ($(XARGO_SGX), 1)
3939
RUST_TARGET_PATH=$(Rust_Target_Path) xargo build --target x86_64-unknown-linux-sgx --release
40-
cp ./target/x86_64-unknown-linux-sgx/release/libhelloworldsampleenclave.a ../lib/libenclave.a
40+
cp ./target/x86_64-unknown-linux-sgx/release/libgbdtenclave.a ../lib/libenclave.a
4141
else
4242
cargo build --release
43-
cp ./target/release/libhelloworldsampleenclave.a ../lib/libenclave.a
43+
cp ./target/release/libgbdtenclave.a ../lib/libenclave.a
4444
endif

sgx/gbdt-sgx-test/enclave/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2727
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828

29-
#![crate_name = "helloworldsampleenclave"]
29+
#![crate_name = "gbdtenclave"]
3030
#![crate_type = "staticlib"]
3131

3232
#![cfg_attr(not(target_env = "sgx"), no_std)]

0 commit comments

Comments
 (0)