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>`.
This commit is contained in:
Andrew Kelley
2016-09-14 02:44:31 -04:00
parent cf9b21c09f
commit f1761632da
5 changed files with 73 additions and 65 deletions

View File

@@ -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) {