From 04113e9dd95342e34e3bb612b91a74d47b04f9be Mon Sep 17 00:00:00 2001
From: Jiahao XU <Jiahao_XU@outlook.com>
Date: Mon, 13 Feb 2023 13:44:24 +1100
Subject: [PATCH] Rm `NOVERSION_FILENAMES` "{ name }{ archive-suffix }" (#795)

which does not contain `target`, hence it might report the binary being
available for any target we specified.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---
 SUPPORT.md                                            | 1 -
 crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs | 1 -
 2 files changed, 2 deletions(-)

diff --git a/SUPPORT.md b/SUPPORT.md
index d0ff1850..d47dc42e 100644
--- a/SUPPORT.md
+++ b/SUPPORT.md
@@ -71,7 +71,6 @@ are:
 - `{ name }_{ version }_{ target }{ archive-suffix }`
 - `{ name }_v{ version }_{ target }{ archive-suffix }`
 - `{ name }-{ target }{ archive-suffix }` ("versionless")
-- `{ name }{ archive-suffix }` ("versionless")
 - `{ name }_{ target }{ archive-suffix }` ("versionless")
 
 The paths are:
diff --git a/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs b/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs
index 00a030fa..34e4c74e 100644
--- a/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs
+++ b/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs
@@ -27,7 +27,6 @@ pub const FULL_FILENAMES: &[&str] = &[
 
 pub const NOVERSION_FILENAMES: &[&str] = &[
     "{ name }-{ target }{ archive-suffix }",
-    "{ name }{ archive-suffix }",
     "{ name }_{ target }{ archive-suffix }",
 ];