-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 8 pull requests #50704
Rollup of 8 pull requests #50704
Commits on May 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2ae8acc - Browse repository at this point
Copy the full SHA 2ae8accView commit details
Commits on May 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c3b23b3 - Browse repository at this point
Copy the full SHA c3b23b3View commit details -
Ignore non .rs files for tidy libcoretest
Previously, any file would be read, which is both unnecessary, and causes issues if irrelevant non-Unicode files were read (e.g. `.DS_STORE`).
Configuration menu - View commit details
-
Copy full SHA for fd85de1 - Browse repository at this point
Copy the full SHA fd85de1View commit details -
rustc: Allow an edition's feature on that edition
This commit fixes a hard error where the `#![feature(rust_2018_preview)]` feature was forbidden to be mentioned when the `--edition 2018` flag was passed. This instead silently accepts that feature gate despite it not being necessary. It's intended that this will help ease the transition into the 2018 edition as users will, for the time being, start off with the `rust_2018_preview` feature and no longer immediately need to remove it. Closes rust-lang#50662
Configuration menu - View commit details
-
Copy full SHA for 0588bca - Browse repository at this point
Copy the full SHA 0588bcaView commit details -
rustc: Include semicolon when removing
extern crate
Currently the lint for removing `extern crate` suggests removing `extern crate` most of the time, but the rest of the time it suggest replacing it with `use crate_name`. Unfortunately though when spliced into the original code you're replacing extern crate foo; with use foo which is syntactically invalid! This commit ensure that the trailing semicolon is included in rustc's suggestion to ensure that the code continues to compile afterwards.
Configuration menu - View commit details
-
Copy full SHA for 6de899f - Browse repository at this point
Copy the full SHA 6de899fView commit details -
rustc: Only suggest deleting
extern crate
if it worksThis commit updates one of the edition lints to only suggest deleting `extern crate` if it actually works. Otherwise this can yield some confusing behavior with rustfix specifically where if you accidentally deny the `rust_2018_idioms` lint in the 2015 edition it's suggesting features that don't work!
Configuration menu - View commit details
-
Copy full SHA for 12f92e9 - Browse repository at this point
Copy the full SHA 12f92e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16c088d - Browse repository at this point
Copy the full SHA 16c088dView commit details
Commits on May 12, 2018
-
Do not silently truncate offsets for
read_at
/write_at
on emscriptenGenerate an IO error if the offset is out of bounds for the system call.
Configuration menu - View commit details
-
Copy full SHA for 4ce2426 - Browse repository at this point
Copy the full SHA 4ce2426View commit details -
openbsd-i686: use lld as linker by default
standard binutils on openbsd is too old to do proper job with i128 code.
Configuration menu - View commit details
-
Copy full SHA for 0bef240 - Browse repository at this point
Copy the full SHA 0bef240View commit details -
Configuration menu - View commit details
-
Copy full SHA for f430d7c - Browse repository at this point
Copy the full SHA f430d7cView commit details
Commits on May 13, 2018
-
Rollup merge of rust-lang#50624 - adevore:fs-write-str-example, r=ste…
…veklabnik fs::write: Add example writing a &str This adds an example to the documentation for `fs::write` that demonstrates the use of the `AsRef<[u8]>` implementation for &str. Experienced users should already recognize the possibility from the type signature, but new users may not recognize the significance.
Configuration menu - View commit details
-
Copy full SHA for e0b7f42 - Browse repository at this point
Copy the full SHA e0b7f42View commit details -
Rollup merge of rust-lang#50634 - tbu-:pr_preadwrite_emscripten, r=ke…
…nnytm Do not silently truncate offsets for `read_at`/`write_at` on emscripten Generate an IO error if the offset is out of bounds for the system call.
Configuration menu - View commit details
-
Copy full SHA for 55792a4 - Browse repository at this point
Copy the full SHA 55792a4View commit details -
Rollup merge of rust-lang#50644 - kennytm:read-appveyor-dump, r=alexc…
…richton AppVeyor: Read back trace from crash dump on failure. This is an attempt to debug spurious access violations on Windows (rust-lang#33434, rust-lang#50604). Thanks to rust-lang#50276, there should be minidumps to read when rustc segfault. (The implementation is based on <https://github.com/springmeyer/travis-coredump/blob/master/test.bat>.)
Configuration menu - View commit details
-
Copy full SHA for 42939c5 - Browse repository at this point
Copy the full SHA 42939c5View commit details -
Rollup merge of rust-lang#50661 - varkor:libcoretest-ignore-non-rs, r…
…=alexcrichton Ignore non .rs files for tidy libcoretest Previously, any file would be read, which is both unnecessary, and causes issues if irrelevant non-Unicode files were read (e.g. `.DS_STORE`).
Configuration menu - View commit details
-
Copy full SHA for 0cf7be2 - Browse repository at this point
Copy the full SHA 0cf7be2View commit details -
Rollup merge of rust-lang#50663 - alexcrichton:no-removed-error, r=Ma…
…nishearth rustc: Allow an edition's feature on that edition This commit fixes a hard error where the `#![feature(rust_2018_preview)]` feature was forbidden to be mentioned when the `--edition 2018` flag was passed. This instead silently accepts that feature gate despite it not being necessary. It's intended that this will help ease the transition into the 2018 edition as users will, for the time being, start off with the `rust_2018_preview` feature and no longer immediately need to remove it. Closes rust-lang#50662
Configuration menu - View commit details
-
Copy full SHA for 34cec06 - Browse repository at this point
Copy the full SHA 34cec06View commit details -
Rollup merge of rust-lang#50667 - alexcrichton:no-remove-extern-crate…
…-unless-works, r=Manishearth rustc: Only suggest deleting `extern crate` if it works This commit updates one of the edition lints to only suggest deleting `extern crate` if it actually works. Otherwise this can yield some confusing behavior with rustfix specifically where if you accidentally deny the `rust_2018_idioms` lint in the 2015 edition it's suggesting features that don't work!
Configuration menu - View commit details
-
Copy full SHA for ededa9d - Browse repository at this point
Copy the full SHA ededa9dView commit details -
Rollup merge of rust-lang#50670 - alexcrichton:remove-extern-crate-co…
…rrect-span, r=Manishearth rustc: Include semicolon when removing `extern crate` Currently the lint for removing `extern crate` suggests removing `extern crate` most of the time, but the rest of the time it suggest replacing it with `use crate_name`. Unfortunately though when spliced into the original code you're replacing extern crate foo; with use foo which is syntactically invalid! This commit ensure that the trailing semicolon is included in rustc's suggestion to ensure that the code continues to compile afterwards.
Configuration menu - View commit details
-
Copy full SHA for b0d3170 - Browse repository at this point
Copy the full SHA b0d3170View commit details -
Rollup merge of rust-lang#50678 - semarie:openbsd-targets, r=sanxiyn
Update openbsd targets - add a new target `aarch64-unknown-openbsd` - update `i686-unknown-openbsd` to use lld with clang, in order to correctly link binaries with `i128`
Configuration menu - View commit details
-
Copy full SHA for 98ce505 - Browse repository at this point
Copy the full SHA 98ce505View commit details