Enable direct dispatch for WASI

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
This commit is contained in:
Tyler Rockwood 2024-03-09 21:50:46 -06:00 committed by Saúl Ibarra Corretgé
parent 648a8f5be1
commit 33e38bec00

View file

@ -46,7 +46,7 @@
#include "libregexp.h" #include "libregexp.h"
#include "libbf.h" #include "libbf.h"
#if defined(EMSCRIPTEN) || defined(_MSC_VER) || defined(__wasi__) #if defined(EMSCRIPTEN) || defined(_MSC_VER)
#define DIRECT_DISPATCH 0 #define DIRECT_DISPATCH 0
#else #else
#define DIRECT_DISPATCH 1 #define DIRECT_DISPATCH 1