srctree

Jae B parent ff3bf983 b2374c4d
fix crash when calling StackIterator.isValidMemory with emscripten

inlinesplit
lib/std/debug.zig added: 2, removed: 2, total 0
@@ -688,7 +688,7 @@ pub const StackIterator = struct {
}
 
return true;
} else if (@hasDecl(os.system, "msync") and native_os != .wasi) {
} else if (@hasDecl(os.system, "msync") and native_os != .wasi and native_os != .emscripten) {
os.msync(aligned_memory, os.MSF.ASYNC) catch |err| {
switch (err) {
os.MSyncError.UnmappedMemory => {