Import SIMD feature and add some workload samples (#438)
This commit is contained in:
@ -14,6 +14,15 @@ aot_get_last_error()
|
||||
return aot_error[0] == '\0' ? "" : aot_error;
|
||||
}
|
||||
|
||||
void
|
||||
aot_set_last_error_v(const char *format, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
vsnprintf(aot_error, sizeof(aot_error), format, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
void
|
||||
aot_set_last_error(const char *error)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user