We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 154f3b0 + 3cafe90 commit 38a6a7aCopy full SHA for 38a6a7a
src/libstd/ebml.rs
@@ -379,6 +379,7 @@ pub mod reader {
379
fn read_int(&mut self) -> int {
380
let v = doc_as_u64(self.next_doc(EsInt)) as i64;
381
if v > (int::max_value as i64) || v < (int::min_value as i64) {
382
+ debug!("FIXME #6122: Removing this makes this function miscompile");
383
fail!(fmt!("int %? out of range for this architecture", v));
384
}
385
v as int
0 commit comments