From 3cafe905a406a2645f8bc7a2a6d50f24817faa4a Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 29 Apr 2013 18:21:43 -0700 Subject: [PATCH] std: Workaround bustage on incoming. #6122 --- src/libstd/ebml.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstd/ebml.rs b/src/libstd/ebml.rs index 8a4bc823fd8..27c7605eb03 100644 --- a/src/libstd/ebml.rs +++ b/src/libstd/ebml.rs @@ -379,6 +379,7 @@ pub mod reader { fn read_int(&mut self) -> int { let v = doc_as_u64(self.next_doc(EsInt)) as i64; if v > (int::max_value as i64) || v < (int::min_value as i64) { + debug!("FIXME #6122: Removing this makes this function miscompile"); fail!(fmt!("int %? out of range for this architecture", v)); } v as int