Turn off type_use on x86. #4127

This commit is contained in:
Brian Anderson 2012-12-06 15:09:51 -08:00
parent b60a0be424
commit 55aa49882d

View File

@ -246,7 +246,10 @@ impl Session {
fn borrowck_note_pure() -> bool { self.debugging_opt(borrowck_note_pure) }
fn borrowck_note_loan() -> bool { self.debugging_opt(borrowck_note_loan) }
fn no_monomorphic_collapse() -> bool {
self.debugging_opt(no_monomorphic_collapse)
// FIXME #4127: Type use is causing mysterious bustage on 32-bit archs
let type_use_unreliable = self.targ_cfg.arch == arch_x86;
self.debugging_opt(no_monomorphic_collapse) || type_use_unreliable
}
fn str_of(id: ast::ident) -> ~str {