1. 09 7月, 2020 3 次提交
  2. 08 7月, 2020 4 次提交
    • E
      Fix x.py test for librustc crates. · 26353eae
      Eric Huss 提交于
      26353eae
    • B
      Auto merge of #74124 - ehuss:fix-doc-dry-run-up-to-date, r=Mark-Simulacrum · 1d919c93
      bors 提交于
      Fix occasional bootstrap panic in docs.
      
      I am occasionally running into this panic when running `x.py`:
      
      > thread 'main' panicked at 'source "/Users/eric/Proj/rust/rust/build/x86_64-apple-darwin/md-doc/unstable-book" failed to get metadata: No such file or directory (os error 2)', src/build_helper/lib.rs:173:19
      
      I have not been able to figure out the exact sequence of commands that leads to this error (I tried for quite a while to reproduce it). I think it may involve updating my tree, but I am uncertain.  An artificial way to trigger it is to build the documentation, and then delete the `md-doc` directory manually.
      
      The cause is that bootstrap does a "dry run" before every command, and in this case `up_to_date` panics because the destination exists (`build/x86_64-apple-darwin/doc/unstable-book/index.html `) but the source does not (`build/x86_64-apple-darwin/md-doc/unstable-book`).
      
      I am uncertain if it is important that the last line `builder.run(…)` needs to be called during the dry run. This patch seems to fix the issue, though.
      1d919c93
    • B
      Auto merge of #74006 - euclio:sys-unix-static-mut, r=oli-obk · 8ac1525e
      bors 提交于
      libstd: remove some mutable statics in sys::unix
      
      My understanding is that this achieves the same behavior and performance with safe code.
      8ac1525e
    • O
      56fb7178
  3. 07 7月, 2020 22 次提交
  4. 06 7月, 2020 11 次提交