aboutsummaryrefslogtreecommitdiff
path: root/src/platform.rs
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2019-12-08 21:58:32 -0500
committerJack O'Connor <[email protected]>2019-12-08 21:58:32 -0500
commitee0014776fbb8c0a93965ff7ef29d8281a4421a4 (patch)
tree061da5f79f9870d77c1bf8bb7386abfdea09c966 /src/platform.rs
parentae7271cc87c6f7f5743563a208f693fbf901fe8c (diff)
silence an unreachable code warning when "c_neon" is in use
Diffstat (limited to 'src/platform.rs')
-rw-r--r--src/platform.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform.rs b/src/platform.rs
index 99db59a..4621fc5 100644
--- a/src/platform.rs
+++ b/src/platform.rs
@@ -49,6 +49,7 @@ pub enum Platform {
}
impl Platform {
+ #[allow(unreachable_code)]
pub fn detect() -> Self {
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
{