zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 756d5c545d4f05ce770511a024e9fefe258591f4 (tree)
parent 4d865e355b9fc6b9f679f57e12865b05f6ee6759
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Sun,  1 Oct 2017 21:07:02 -0400

remove unused function

Diffstat:
Msrc/link.cpp | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 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) {