Sfoglia il codice sorgente

Disable Bookkeeper::check for relibc

Jeremy Soller 6 anni fa
parent
commit
f9b8c35fe8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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
             );
         }
+        */
     }
 }