blob: ce02510d6952e111aa725b68fbd3c24d1a467d20 [file] [log] [blame]
Brian Silverman4e662aa2022-05-11 23:10:19 -07001// 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"))]
10pub(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")))]
15pub(crate) fn uwu(_msg: &str) -> String {
16 "uwuification is unavailable for this pwatform :(".to_string()
17}