about summary refs log tree commit diff
path: root/src/rt/rust_log.cpp
diff options
context:
space:
mode:
authorYoung-il Choi <duddlf.choi@samsung.com>2013-03-05 13:12:23 +0900
committerYoung-il Choi <duddlf.choi@samsung.com>2013-03-05 13:12:23 +0900
commita35dc959693afc714989d039c83853abb0f2d650 (patch)
treec90d80d7aa848307028b106cbbd5248a9951c609 /src/rt/rust_log.cpp
parent995a019dffc9c0b91392f2afe0be5685be045c2f (diff)
downloadrust-a35dc959693afc714989d039c83853abb0f2d650.tar.gz
rust-a35dc959693afc714989d039c83853abb0f2d650.zip
mk: --android-cross-path to rustc
Diffstat (limited to 'src/rt/rust_log.cpp')
-rw-r--r--src/rt/rust_log.cpp6
1 files changed, 4 insertions, 2 deletions
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);