Skip to content

Commit

Permalink
build fix (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad committed Nov 20, 2024
1 parent eb2ebdd commit 4ecfa31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions cosmwasm/enclaves/test/src/ocall_mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ use std::{

use enclave_ffi_types::{Ctx, EnclaveBuffer, OcallReturn, UntrustedVmError, UserSpaceBuffer};
use sgx_types::{
c_int, sgx_calc_quote_size, sgx_enclave_id_t, sgx_epid_group_id_t, sgx_get_quote,
sgx_init_quote, sgx_platform_info_t, sgx_ql_qe_report_info_t, sgx_ql_qv_result_t,
sgx_quote_nonce_t, sgx_quote_sign_type_t, sgx_quote_t, sgx_report_attestation_status,
sgx_report_t, sgx_spid_t, sgx_status_t, sgx_target_info_t, sgx_update_info_bit_t,
c_int, sgx_enclave_id_t, sgx_epid_group_id_t, sgx_platform_info_t, sgx_ql_qe_report_info_t,
sgx_ql_qv_result_t, sgx_quote_nonce_t, sgx_quote_sign_type_t, sgx_quote_t, sgx_report_t,
sgx_spid_t, sgx_status_t, sgx_target_info_t, sgx_update_info_bit_t,
};

// ecalls
Expand Down
4 changes: 2 additions & 2 deletions go-cosmwasm/api/link_std.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !secretcli && linux && !muslc && !darwin
// +build !secretcli,linux,!muslc,!darwin
//go:build !secretcli && linux && !muslc && !darwin && sgx
// +build !secretcli,linux,!muslc,!darwin,sgx

package api

Expand Down

0 comments on commit 4ecfa31

Please sign in to comment.