lib/std/c/darwin.zig | 5 +-- lib/std/mem.zig | 20 +++++++++++- lib/std/special/c.zig | 2 +- lib/std/special/compiler_rt.zig | 2 +- src-self-hosted/Module.zig | 11 ++++--- src-self-hosted/translate_c.zig | 54 ++++++++++++++++++++++++-------- src/codegen.cpp | 9 +++--- src/parser.cpp | 3 ++ test/compile_errors.zig | 6 ++++ test/run_translated_c.zig | 14 +++++++++ test/standalone/global_linkage/obj1.zig | 4 +-- test/standalone/global_linkage/obj2.zig | 4 +-- test/translate_c.zig | 21 +++++++++++-- 13 files changed, 122 insertions(+), 33 deletions(-)