diff options
| author | Jack O'Connor <[email protected]> | 2019-12-08 21:58:32 -0500 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2019-12-08 21:58:32 -0500 |
| commit | ee0014776fbb8c0a93965ff7ef29d8281a4421a4 (patch) | |
| tree | 061da5f79f9870d77c1bf8bb7386abfdea09c966 /src/platform.rs | |
| parent | ae7271cc87c6f7f5743563a208f693fbf901fe8c (diff) | |
silence an unreachable code warning when "c_neon" is in use
Diffstat (limited to 'src/platform.rs')
| -rw-r--r-- | src/platform.rs | 1 |
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"))] { |
