From a35dc959693afc714989d039c83853abb0f2d650 Mon Sep 17 00:00:00 2001 From: Young-il Choi Date: Tue, 5 Mar 2013 13:12:23 +0900 Subject: mk: --android-cross-path to rustc --- src/rt/rust_log.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/rt/rust_log.cpp') diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp index 26c038e2507..2b86db6defe 100644 --- a/src/rt/rust_log.cpp +++ b/src/rt/rust_log.cpp @@ -314,9 +314,11 @@ void update_log_settings(void* crate_map, char* settings) { n_dirs, &n_matches); if (n_matches < n_dirs) { - printf("warning: got %" PRIdPTR " RUST_LOG specs, " + // NOTE: Android compiler is complaining about format specifiers here + // and I don't understand why + /*printf("warning: got %" PRIdPTR " RUST_LOG specs, " "enabled %" PRIdPTR " flags.", - (uintptr_t)n_dirs, (uintptr_t)n_matches); + (uintptr_t)n_dirs, (uintptr_t)n_matches);*/ } free(buffer); -- cgit 1.4.1-3-g733a5