You’re not supposed to call it if you’re targeting WebAssembly. Why would call it if you’re guaranteed to not get the answer you want? Use compile-time dispatching to avoid the call.
My previous answer easnt’t great. Here’s a better answer, that elaborates on what @dimdin mentioned below. noreturn is like unreachable but for return values, therefore, in this case, it lets the compiler know that return value will always be an error. The compiler can propagate this upward and apply optimizations.