From c45af013517148b8fe6e6234ecad729baf135c23 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Fri, 28 Jun 2013 00:23:38 -0400
Subject: [PATCH] fix stage0 build

---
 src/libstd/util.rs | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/libstd/util.rs b/src/libstd/util.rs
index fe1087a0438..fd29d7dc14b 100644
--- a/src/libstd/util.rs
+++ b/src/libstd/util.rs
@@ -173,16 +173,18 @@ mod tests {
 
         // verify that `#[unsafe_no_drop_flag]` works as intended on a zero-size struct
 
-        static mut did_run: bool = false;
+        // NOTE: uncomment after snapshot, will not parse yet
+        //static mut did_run: bool = false;
 
         struct Foo { five: int }
 
         impl Drop for Foo {
             fn drop(&self) {
                 assert_eq!(self.five, 5);
-                unsafe {
-                    did_run = true;
-                }
+                // NOTE: uncomment after snapshot, will not parse yet
+                //unsafe {
+                    //did_run = true;
+                //}
             }
         }
 
@@ -190,6 +192,7 @@ mod tests {
             let _a = (NonCopyable, Foo { five: 5 }, NonCopyable);
         }
 
-        unsafe { assert_eq!(did_run, true); }
+        // NOTE: uncomment after snapshot, will not parse yet
+        //unsafe { assert_eq!(did_run, true); }
     }
 }