You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[stdlib] fix return type of getNumRuntimeFunctionCounters
The return type of getNumRuntimeFunctionCounters is defined as
uint64_t in RuntimeInvocationsTracking.cpp, but it has return type
Int in RuntimeFunctionCounters.swift.
Found when compiling the stdlib for WebAssembly, as WebAssembly validates
return types. uint64_t corresponds to i64, but Int is i32,
so the program fails validation.
0 commit comments