Skip to content

Commit 55aa498

Browse files
committed
Turn off type_use on x86. #4127
1 parent b60a0be commit 55aa498

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustc/driver/session.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,10 @@ impl Session {
246246
fn borrowck_note_pure() -> bool { self.debugging_opt(borrowck_note_pure) }
247247
fn borrowck_note_loan() -> bool { self.debugging_opt(borrowck_note_loan) }
248248
fn no_monomorphic_collapse() -> bool {
249-
self.debugging_opt(no_monomorphic_collapse)
249+
// FIXME #4127: Type use is causing mysterious bustage on 32-bit archs
250+
let type_use_unreliable = self.targ_cfg.arch == arch_x86;
251+
252+
self.debugging_opt(no_monomorphic_collapse) || type_use_unreliable
250253
}
251254

252255
fn str_of(id: ast::ident) -> ~str {

0 commit comments

Comments
 (0)