1. 15 Mar, 2015 17 commits
  2. 14 Mar, 2015 17 commits
  3. 13 Mar, 2015 6 commits
    • Ryan Prichard's avatar
      Avoid passing -L "" during cross-compilation. · 00211ecf
      Ryan Prichard authored
      LLVM_LIBDIR_<triple> is only defined for host triples, not target triples.
      
      FWIW, the same is true for LLVM_STDCPP_RUSTFLAGS_<triple>, where we
      explicitly define it as empty when --enable-llvm-static-stdcpp is not
      specified, but it's still undefined for cross-compiled triples.
      00211ecf
    • bors's avatar
      Auto merge of #23292 - alexcrichton:stabilize-io, r=aturon · 3e4be02b
      bors authored
      The new `std::io` module has had some time to bake now, and this commit
      stabilizes its functionality. There are still portions of the module which
      remain unstable, and below contains a summart of the actions taken.
      
      This commit also deprecates the entire contents of the `old_io` module in a
      blanket fashion. All APIs should now have a reasonable replacement in the
      new I/O modules.
      
      Stable APIs:
      
      * `std::io` (the name)
      * `std::io::prelude` (the name)
      * `Read`
      * `Read::read`
      * `Read::{read_to_end, read_to_string}` after being modified to return a `usize`
        for the number of bytes read.
      * `ReadExt`
      * `Write`
      * `Write::write`
      * `Write::{write_all, write_fmt}`
      * `WriteExt`
      * `BufRead`
      * `BufRead::{fill_buf, consume}`
      * `BufRead::{read_line, read_until}` after being modified to return a `usize`
        for the number of bytes read.
      * `BufReadExt`
      * `BufReader`
      * `BufReader::{new, with_capacity}`
      * `BufReader::{get_ref, get_mut, into_inner}`
      * `{Read,BufRead} for BufReader`
      * `BufWriter`
      * `BufWriter::{new, with_capacity}`
      * `BufWriter::{get_ref, get_mut, into_inner}`
      * `Write for BufWriter`
      * `IntoInnerError`
      * `IntoInnerError::{error, into_inner}`
      * `{Error,Display} for IntoInnerError`
      * `LineWriter`
      * `LineWriter::{new, with_capacity}` - `with_capacity` was added
      * `LineWriter::{get_ref, get_mut, into_inner}` - `get_mut` was added)
      * `Write for LineWriter`
      * `BufStream`
      * `BufStream::{new, with_capacities}`
      * `BufStream::{get_ref, get_mut, into_inner}`
      * `{BufRead,Read,Write} for BufStream`
      * `stdin`
      * `Stdin`
      * `Stdin::lock`
      * `Stdin::read_line` - added method
      * `StdinLock`
      * `Read for Stdin`
      * `{Read,BufRead} for StdinLock`
      * `stdout`
      * `Stdout`
      * `Stdout::lock`
      * `StdoutLock`
      * `Write for Stdout`
      * `Write for StdoutLock`
      * `stderr`
      * `Stderr`
      * `Stderr::lock`
      * `StderrLock`
      * `Write for Stderr`
      * `Write for StderrLock`
      * `io::Result`
      * `io::Error`
      * `io::Error::last_os_error`
      * `{Display, Error} for Error`
      
      Unstable APIs:
      
      (reasons can be found in the commit itself)
      
      * `Write::flush`
      * `Seek`
      * `ErrorKind`
      * `Error::new`
      * `Error::from_os_error`
      * `Error::kind`
      
      Deprecated APIs
      
      * `Error::description` - available via the `Error` trait
      * `Error::detail` - available via the `Display` implementation
      * `thread::Builder::{stdout, stderr}`
      
      Changes in functionality:
      
      * `old_io::stdio::set_stderr` is now a noop as the infrastructure for printing
        backtraces has migrated to `std::io`.
      
      [breaking-change]
      3e4be02b
    • bors's avatar
      Auto merge of #23337 - Manishearth:rollup, r=Manishearth · 9eb69aba
      bors authored
      r? @Manishearth
      9eb69aba
    • Alex Crichton's avatar
      Fallout of std::old_io deprecation · 981bf5f6
      Alex Crichton authored
      981bf5f6
    • Manish Goregaokar's avatar
      rm unused import · 40b64645
      Manish Goregaokar authored
      40b64645
    • Manish Goregaokar's avatar
      Fix def -> PathResolution · 825f49a8
      Manish Goregaokar authored
      825f49a8