From f1761632dae8951d21e62cb13e14bd4b4b0ed8a8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 14 Sep 2016 02:44:31 -0400 Subject: darwin compat fixups - delete commented out code - delete redundant check for missing mmacosx-version-min/maxdir - add TODO comment in std library - rename 'os' to 'self' in io.zig - `openSelfExe` aborts on darwin instead of compile error - only allow warnings on the one parseh test that has `#include `. --- src/codegen.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index e2dd435598..827836925c 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -43,13 +43,6 @@ static void init_darwin_native(CodeGen *g) { } else if (ios_target) { g->mios_version_min = buf_create_from_str(ios_target); } - - // we should check for the command line option to throw an error if not specified - // - - /* else { - zig_panic("unable to determine -mmacosx-version-min or -mios-version-min"); - } */ } static PackageTableEntry *new_package(const char *root_src_dir, const char *root_src_path) { -- cgit v1.2.3