Calling an export can result in lazily loading the runtime
and lazily discovering the export. This is not intuitive to
the caller since calling an export should appear like calling
any other native function export. In this case we store the
current system error code and then reset it upon success in
an attempt to appear "normal".
Calling an export can result in lazily loading the runtime and lazily discovering the export. This is not intuitive to the caller since calling an export should appear like calling any other native function export. In this case we store the current system error code and then reset it upon success in an attempt to appear "normal".
/cc @jkoritzinsky @elinor-fung