LibWasm: Start implementing WASI

This commit starts adding support for WASI, along with the framework to
implement all the functions (though only a couple are currently
implemented).
This commit is contained in:
Ali Mohammad Pur 2023-04-05 01:14:43 +03:30 committed by Ali Mohammad Pur
commit 7e4e9fdb8f
Notes: sideshowbarker 2024-07-17 09:41:18 +09:00
7 changed files with 1972 additions and 1 deletions

View file

@ -121,7 +121,7 @@ public:
ALWAYS_INLINE Value& operator=(Value const& value) = default;
template<typename T>
ALWAYS_INLINE Optional<T> to()
ALWAYS_INLINE Optional<T> to() const
{
Optional<T> result;
m_value.visit(