From 5b3e09ee1626fcaeeff3b65548bdb5aa5a5230fe Mon Sep 17 00:00:00 2001 From: jD91mZM2 Date: Tue, 17 Jul 2018 18:35:54 +0200 Subject: [PATCH] fixup! strcoll as strcmp because no locale --- src/string/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/string/src/lib.rs b/src/string/src/lib.rs index 33e6e13440..90a319c504 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)