Explorar o código

Disable Bookkeeper::check for relibc

Jeremy Soller %!s(int64=7) %!d(string=hai) anos
pai
achega
f9b8c35fe8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/bookkeeper.rs

+ 2 - 0
src/bookkeeper.rs

@@ -259,6 +259,7 @@ impl Bookkeeper {
     ///
     /// This is NOOP in release mode.
     fn check(&self) {
+        /*
         if cfg!(debug_assertions) {
             // Logging.
             bk_log!(self, "Checking...");
@@ -332,6 +333,7 @@ impl Bookkeeper {
                 self.total_bytes
             );
         }
+        */
     }
 }