aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-14 02:44:31 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-14 02:47:16 -0400
commitf1761632dae8951d21e62cb13e14bd4b4b0ed8a8 (patch)
tree8ae6966a01439c347bd69f87e40a9fc5e4f62476 /src/codegen.cpp
parentcf9b21c09fc641b4697e06981ac5114a8d3d09ab (diff)
downloadzig-f1761632dae8951d21e62cb13e14bd4b4b0ed8a8.tar.gz
zig-f1761632dae8951d21e62cb13e14bd4b4b0ed8a8.zip
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 <stdint.h>`.
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp7
1 files changed, 0 insertions, 7 deletions
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) {