1. 18 2月, 2017 1 次提交
  2. 14 2月, 2017 5 次提交
    • B
      Auto merge of #39728 - eddyb:vendeur-tres-bien, r=alexcrichton · 48bc0824
      bors 提交于
      Automate vendoring by invoking cargo-vendor when building src dist tarballs.
      
      This avoids #39633 bringing the `src/vendor` checked into git by #37524, past 200,000 lines of code.
      
      I believe the strategy of having rustbuild run `cargo vendor` during the `dist src` step is sound.
      
      However, the only way to be sure `cargo-vendor` exists is to run `cargo install --force cargo-vendor`, which will recompile it every time (not passing `--force` means you can't tell between "already exists" and "build error"). ~~This is quite suboptimal and I'd like to somehow do it in each `Dockerfile` that would need it.~~
      
      * [ ] Cache `CARGO_HOME` (i.e. `~/.cargo`) between CI runs
        * `bin/cargo-vendor` and the actual caches are the relevant bits
      * [x] Do not build `cargo-vendor` all the time
        * ~~Maybe detect `~/.cargo/bin/cargo-vendor` already exists?~~
        * ~~Could also try to build it in a `Dockerfile` but do we have `cargo`/`rustc` there?~~
        * Final solution: check `cargo install --list` for a line starting with `cargo-vendor `
      
      cc @rust-lang/tools
      48bc0824
    • B
      Auto merge of #38981 - sdleffler:patch-1, r=alexcrichton · 55013cdd
      bors 提交于
      Add PartialOrd, Ord derivations to TypeId
      
      I want to be able to sort a `Vec` of types which contain `TypeId`s, so an `Ord` derivation would be very useful to me. `Hash` and `PartialEq`/`Eq` already exist, so the missing `PartialOrd` and `Ord` derivations feel like an oversight to me.
      55013cdd
    • B
      Auto merge of #38561 - nagisa:rdrandseed, r=alexcrichton · 61b93bd8
      bors 提交于
      Add intrinsics & target features for rd{rand,seed}
      
      One question is whether or not we want to map feature name `rdrnd` to `rdrand` instead.
      
      EDIT: as for use case, I would like to port my rdrand crate from inline assembly to these intrinsics.
      61b93bd8
    • E
    • B
      Auto merge of #39787 - frewsxcv:rollup, r=frewsxcv · 0af0b580
      bors 提交于
      Rollup of 5 pull requests
      
      - Successful merges: #39716, #39758, #39759, #39774, #39784
      - Failed merges:
      0af0b580
  3. 13 2月, 2017 22 次提交
  4. 12 2月, 2017 12 次提交