aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-08-08 01:00:29 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-08-08 01:00:29 -0700
commit1b1921f0e26b9cb8ac78003c9061acac2da5e7ab (patch)
tree4008d0d0e7eecbc32f61af6e36077f01ec1a489a /lib/std/testing.zig
parent9f5a7d5922f48170551e7f6938b6de9eadeba0ff (diff)
downloadzig-1b1921f0e26b9cb8ac78003c9061acac2da5e7ab.tar.gz
zig-1b1921f0e26b9cb8ac78003c9061acac2da5e7ab.zip
stage1: deal with WebAssembly not supporting @returnAddress()
This makes `@returnAddress()` return 0 for WebAssembly (when not using the Emscripten OS) and avoids trying to capture stack traces for the general purpose allocator on that target.
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions