Brian Silverman | 4e662aa | 2022-05-11 23:10:19 -0700 | [diff] [blame^] | 1 | // Copyright 2021 Google LLC |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or |
| 4 | // https://www.apache.org/licenses/LICENSE-2.0> or the MIT license |
| 5 | // <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your |
| 6 | // option. This file may not be copied, modified, or distributed |
| 7 | // except according to those terms. |
| 8 | |
| 9 | #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] |
| 10 | pub(crate) fn uwu(msg: &str) -> String { |
| 11 | uwuifier::uwuify_str_sse(msg) |
| 12 | } |
| 13 | |
| 14 | #[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))] |
| 15 | pub(crate) fn uwu(_msg: &str) -> String { |
| 16 | "uwuification is unavailable for this pwatform :(".to_string() |
| 17 | } |