File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
common/interpreter/wawaka_wasm Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ IF (WASM_MODE STREQUAL "AOT")
63
63
# Disable Interpreter for AoT mode
64
64
set (WAMR_BUILD_INTERP 0 )
65
65
set (WAMR_BUILD_FAST_INTERP 0 )
66
+ add_definitions (-DAOT_WASM_RT=1 )
66
67
message (STATUS "Building wawaka in AOT mode" )
67
68
message (FATAL_ERROR "AoT mode is not currently implemented" )
68
69
ELSE ()
Original file line number Diff line number Diff line change @@ -42,8 +42,14 @@ extern bool RegisterNativeFunctions(void);
42
42
43
43
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
44
44
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
45
+ #ifdef AOT_WASM_RT
46
+ const std::string WawakaInterpreter::identity_ = " wawaka-aot" ;
47
+ #else
45
48
const std::string WawakaInterpreter::identity_ = " wawaka" ;
49
+ #endif
46
50
51
+ // TODO: Produce verifiable info about runtime built into this enclave
52
+ // See issue #255
47
53
std::string pdo::contracts::GetInterpreterIdentity (void )
48
54
{
49
55
return WawakaInterpreter::identity_;
You can’t perform that action at this time.
0 commit comments