diff --git a/src/string/src/lib.rs b/src/string/src/lib.rs index 33e6e1344090733a09c5407b4cc6e089c3a2d58f..90a319c5049c7b2253eb10f3c1e3e65cde9de3c5 100644 --- a/src/string/src/lib.rs +++ b/src/string/src/lib.rs @@ -142,7 +142,7 @@ pub unsafe extern "C" fn strcmp(s1: *const c_char, s2: *const c_char) -> c_int { strncmp(s1, s2, usize::MAX) } -// #[no_mangle] +#[no_mangle] pub unsafe extern "C" fn strcoll(s1: *const c_char, s2: *const c_char) -> c_int { // relibc has no locale stuff (yet) strcmp(s1, s2)