Skip to content

Commit

Permalink
Turn off type_use on x86. #4127
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Dec 6, 2012
1 parent b60a0be commit 55aa498
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/librustc/driver/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 55aa498

Please sign in to comment.