aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/codegen.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-08-10 19:34:27 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-08-11 02:01:32 -0400
commit20510d209be44590f390c370f9e477d84ab46454 (patch)
treed8d9cae0a71467a27d54292b1cfbb4aabfd094b4 /src-self-hosted/codegen.zig
parent900a897e90eca08f78ef632fd11e01ec9bcb3674 (diff)
downloadzig-20510d209be44590f390c370f9e477d84ab46454.tar.gz
zig-20510d209be44590f390c370f9e477d84ab46454.zip
GeneralPurposeAllocator: use std.log instead of std.debug.print
`std.builtin.StackTrace` gains a `format` function. GeneralPurposeAllocator uses `std.log.err` instead of directly printing to stderr. Some errors are recoverable. The test runner is modified to fail the test run if any log messages of "err" or worse severity are encountered. self-hosted is modified to always print log messages of "err" severity or worse even if they have not been explicitly enabled. This makes GeneralPurposeAllocator available on the freestanding target.
Diffstat (limited to 'src-self-hosted/codegen.zig')
0 files changed, 0 insertions, 0 deletions