       "aarch64-fuchsia" -> {:unix, :linux}
       "aarch64-linux-android" -> {:unix, :linux}
       "aarch64-pc-windows-msvc" -> {:win32, :nt}
-      "aarch64-unknown-freebsd" -> {:unix, :bsd}
+      "aarch64-unknown-freebsd" -> {:unix, :freebsd}
       "aarch64-unknown-hermit" -> {:unix, :linux}
       "aarch64-unknown-linux-gnu" -> {:unix, :linux}
       "aarch64-unknown-linux-gnu_ilp32" -> {:unix, :linux}
       "aarch64-unknown-linux-musl" -> {:unix, :linux}
-      "aarch64-unknown-netbsd" -> {:unix, :bsd}
+      "aarch64-unknown-netbsd" -> {:unix, :netbsd}
       "aarch64-unknown-none" -> {:unix, :linux}
       "aarch64-unknown-none-softfloat" -> {:unix, :linux}
-      "aarch64-unknown-openbsd" -> {:unix, :linux}
+      "aarch64-unknown-openbsd" -> {:unix, :openbsd}
       "aarch64-unknown-redox" -> {:unix, :linux}
       "aarch64-unknown-uefi" -> {:unix, :linux}
       "aarch64-uwp-windows-msvc" -> {:win32, :nt}

      "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}

    end
  end

  defp handle_artifacts(path, config) do
    toml = toml_data(path)
    target = config.target
