     end
   end
 
-  defp get_target_os_type(_) do
-    :os.type()
-  end
-
   defp handle_artifacts(path, config) do
     toml = toml_data(path)
     target = config.target

      "x86_64-unknown-linux-gnu" -> {:unix, :linux}
      "x86_64-unknown-linux-gnux32" -> {:unix, :linux}
      "x86_64-unknown-linux-musl" -> {:unix, :linux}
      "x86_64-unknown-netbsd" -> {:unix, :bsd}
      "x86_64-unknown-none-hermitkernel" -> {:unix, :linux}
      "x86_64-unknown-none-linuxkernel" -> {:unix, :linux}
      "x86_64-unknown-openbsd" -> {:unix, :linux}
      "x86_64-unknown-redox" -> {:unix, :linux}
      "x86_64-unknown-uefi" -> {:unix, :linux}
      "x86_64-uwp-windows-gnu" -> {:win32, :nt}

      "armv5te-unknown-linux-gnueabi" -> {:unix, :linux}
      "armv5te-unknown-linux-musleabi" -> {:unix, :linux}
      "armv5te-unknown-linux-uclibceabi" -> {:unix, :linux}
      "armv6-unknown-freebsd" -> {:unix, :freebsd}
      "armv6-unknown-netbsd-eabihf" -> {:unix, :netbsd}
      "armv7-apple-ios" -> {:unix, :darwin}
      "armv7-linux-androideabi" -> {:unix, :linux}
      "armv7-unknown-freebsd" -> {:unix, :freebsd}
      "armv7-unknown-linux-gnueabi" -> {:unix, :linux}
      "armv7-unknown-linux-gnueabihf" -> {:unix, :linux}
      "armv7-unknown-linux-musleabi" -> {:unix, :linux}
      "armv7-unknown-linux-musleabihf" -> {:unix, :linux}
      "armv7-unknown-netbsd-eabihf" -> {:unix, :netbsd}
      "armv7-wrs-vxworks-eabihf" -> {:unix, :linux}
      "armv7a-none-eabi" -> {:unix, :linux}
      "armv7a-none-eabihf" -> {:unix, :linux}
