std: Workaround bustage on incoming. #6122
This commit is contained in:
parent
6e6a4be19d
commit
3cafe905a4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user