1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

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
parent eceb244bef
commit 7e4e9fdb8f
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(