aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-01 21:07:02 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-01 21:07:02 -0400
commit756d5c545d4f05ce770511a024e9fefe258591f4 (patch)
tree1471325caacd68dd5735b6426f839449cbc284d3 /src/link.cpp
parent4d865e355b9fc6b9f679f57e12865b05f6ee6759 (diff)
downloadzig-756d5c545d4f05ce770511a024e9fefe258591f4.tar.gz
zig-756d5c545d4f05ce770511a024e9fefe258591f4.zip
remove unused function
Diffstat (limited to 'src/link.cpp')
-rw-r--r--src/link.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/link.cpp b/src/link.cpp
index 47ed96a575..7cba3287cb 100644
--- a/src/link.cpp
+++ b/src/link.cpp
@@ -324,10 +324,10 @@ static void construct_linker_job_elf(LinkJob *lj) {
}
}
-static bool is_target_cyg_mingw(const ZigTarget *target) {
- return (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_Cygnus) ||
- (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_GNU);
-}
+//static bool is_target_cyg_mingw(const ZigTarget *target) {
+// return (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_Cygnus) ||
+// (target->os == ZigLLVM_Win32 && target->env_type == ZigLLVM_GNU);
+//}
static void coff_append_machine_arg(CodeGen *g, ZigList<const char *> *list) {
if (g->zig_target.arch.arch == ZigLLVM_x86) {