]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #7125 : alexcrichton/rust/rusti-issues, r=brson
authorbors <bors@rust-lang.org>
Sat, 15 Jun 2013 08:04:05 +0000 (01:04 -0700)
committerbors <bors@rust-lang.org>
Sat, 15 Jun 2013 08:04:05 +0000 (01:04 -0700)
This un-reverts the reverts of the rusti commits made awhile back. These were reverted for an LLVM failure in rustpkg. I believe that this is not a problem with these commits, but rather that rustc is being used in parallel for rustpkg tests (in-process). This is not working yet (almost! see #7011), so I serialized all the tests to run one after another.

@brson, I'm mainly just guessing as to the cause of the LLVM failures in rustpkg tests. I'm confident that running tests in parallel is more likely to be the problem than those commits I made.

Additionally, this fixes two recently reported issues with rusti.

1  2 
src/librustc/back/link.rs
src/librustc/driver/driver.rs
src/librustc/middle/trans/base.rs
src/librustc/middle/trans/cabi_mips.rs
src/librustc/middle/trans/closure.rs
src/librustc/middle/trans/common.rs
src/librusti/rusti.rc
src/rustllvm/rustllvm.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 91658928f08ee949eedc55316e8cab0daea76f30,822e0b40535d21597a6a91b0022dd94642c76bd0..06ec6769385c267a3f90666a730a7848c6cbb2d3
@@@ -420,8 -420,11 +420,8 @@@ pub fn run_line(repl: &mut Repl, in: @i
                  use_rl: bool)
      -> Option<Repl> {
      if line.starts_with(":") {
 -        // FIXME #5898: conflicts with Cell.take(), so can't be at the top level
 -        use std::iterator::IteratorUtil;
 -
          // drop the : and the \n (one byte each)
-         let full = line.slice(1, line.len() - 1);
+         let full = line.slice(1, line.len());
          let split: ~[~str] = full.word_iter().transform(|s| s.to_owned()).collect();
          let len = split.len();
  
Simple merge