-
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 9 pull requests #79252
Rollup of 9 pull requests #79252
Commits on Sep 18, 2020
-
Add exploit mitigations chapter to the rustc book
This section documents the exploit mitigations applicable to the Rust compiler when building programs for the Linux operating system on the AMD64 architecture and equivalent.
Configuration menu - View commit details
-
Copy full SHA for 60c85f1 - Browse repository at this point
Copy the full SHA 60c85f1View commit details
Commits on Sep 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9b45292 - Browse repository at this point
Copy the full SHA 9b45292View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9f7e1b - Browse repository at this point
Copy the full SHA a9f7e1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a38a63 - Browse repository at this point
Copy the full SHA 6a38a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 344d835 - Browse repository at this point
Copy the full SHA 344d835View commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9e1e73d - Browse repository at this point
Copy the full SHA 9e1e73dView commit details
Commits on Sep 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2b9e505 - Browse repository at this point
Copy the full SHA 2b9e505View commit details
Commits on Sep 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for dc5745d - Browse repository at this point
Copy the full SHA dc5745dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b5aa44 - Browse repository at this point
Copy the full SHA 3b5aa44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78a4656 - Browse repository at this point
Copy the full SHA 78a4656View commit details
Commits on Oct 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 410fc0e - Browse repository at this point
Copy the full SHA 410fc0eView commit details
Commits on Oct 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c555aab - Browse repository at this point
Copy the full SHA c555aabView commit details
Commits on Oct 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f572a9 - Browse repository at this point
Copy the full SHA 0f572a9View commit details
Commits on Oct 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 28df283 - Browse repository at this point
Copy the full SHA 28df283View commit details -
Configuration menu - View commit details
-
Copy full SHA for d977464 - Browse repository at this point
Copy the full SHA d977464View commit details
Commits on Oct 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9999616 - Browse repository at this point
Copy the full SHA 9999616View commit details
Commits on Nov 16, 2020
-
x.py: allow a custom string appended to the version
This adds `rust.description` to the config as a descriptive string to be appended to `rustc --version` output, which is also used in places like debuginfo `DW_AT_producer`. This may be useful for supplementary build information, like distro-specific package versions. For example, in Fedora 33, `gcc --version` outputs: gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-6) With this change, we can add similar vendor info to `rustc --version`.
Configuration menu - View commit details
-
Copy full SHA for 5f08568 - Browse repository at this point
Copy the full SHA 5f08568View commit details
Commits on Nov 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a7677f7 - Browse repository at this point
Copy the full SHA a7677f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a64d0d4 - Browse repository at this point
Copy the full SHA a64d0d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 993bb07 - Browse repository at this point
Copy the full SHA 993bb07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed2d42 - Browse repository at this point
Copy the full SHA 5ed2d42View commit details -
std: Update the backtrace crate submodule
This commit updates the `library/backtrace` submodule which primarily pulls in support for split-debuginfo on macOS, avoiding the need for `dsymutil` to get run to get line numbers and filenames in backtraces.
Configuration menu - View commit details
-
Copy full SHA for f99410b - Browse repository at this point
Copy the full SHA f99410bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f61664 - Browse repository at this point
Copy the full SHA 0f61664View commit details
Commits on Nov 21, 2020
-
Rollup merge of rust-lang#76858 - rcvalle:rust-lang-exploit-mitigatio…
…ns, r=steveklabnik Add exploit mitigations chapter to the rustc book This section documents the exploit mitigations applicable to the Rust compiler when building programs for the Linux operating system on the AMD64 architecture and equivalent. This was done for a project I'm currently working on, and I hope it'll also be helpful to others.
Configuration menu - View commit details
-
Copy full SHA for ce2b2fb - Browse repository at this point
Copy the full SHA ce2b2fbView commit details -
Rollup merge of rust-lang#77805 - JohnTitor:non-standard-char-sugg, r…
…=Dylan-DPC lint: Do not provide suggestions for non standard characters Fixes rust-lang#77273 Only provide suggestions if the case-fixed result is different than the original.
Configuration menu - View commit details
-
Copy full SHA for 575d3a1 - Browse repository at this point
Copy the full SHA 575d3a1View commit details -
Rollup merge of rust-lang#77844 - RalfJung:zst-box, r=nikomatsakis
clarify rules for ZST Boxes LLVM's rules around `getelementptr inbounds` with offset 0 are a bit annoying, and as a consequence we have no choice but say that a `Box<()>` pointing to previously allocated memory that has since been freed is UB. Clarify the docs to reflect this. This is based on conversations on the LLVM mailing list. * Here's my initial mail: https://lists.llvm.org/pipermail/llvm-dev/2019-February/130452.html * The first email of the March part of that thread: https://lists.llvm.org/pipermail/llvm-dev/2019-March/130831.html * First email of the April part: https://lists.llvm.org/pipermail/llvm-dev/2019-April/131693.html The conclusion for me at least was that `getelementptr inbounds` with offset 0 is *not* the identity function, but can sometimes return `poison` even when the input is a regular pointer -- specifically, it returns `poison` when this pointer points into something that LLVM "knows has been deallocated", i.e., a former LLVM-managed allocation. It is however the identity function on pointers obtained by casting integers. Note that there [are formal proposals](https://people.mpi-sws.org/~jung/twinsem/twinsem.pdf) for LLVM semantics where `getelementptr inbounds` with offset 0 isn't quite the identity function but never returns `poison` (it affects the provenance of the pointer but in a way that doesn't matter if this pointer is never used for memory accesses), and indeed this is likely necessary to consistently describe LLVM semantics. But with the informal LLVM LangRef that we have right now, and with LLVM devs insisting otherwise, it seems unwise to rely on this.
Configuration menu - View commit details
-
Copy full SHA for 9549ff5 - Browse repository at this point
Copy the full SHA 9549ff5View commit details -
Rollup merge of rust-lang#79003 - petrochenkov:innertest, r=estebank
rustc_expand: Mark inner `#![test]` attributes as soft-unstable Custom inner attributes are feature gated (rust-lang#54726) except for attributes having name `test` literally, which are not gated for historical reasons. `#![test]` is an inner proc macro attribute, so it has all the issues described in rust-lang#54726 too. This PR gates it with the `soft_unstable` lint.
Configuration menu - View commit details
-
Copy full SHA for 2899583 - Browse repository at this point
Copy the full SHA 2899583View commit details -
Rollup merge of rust-lang#79115 - cuviper:rust-description, r=Mark-Si…
…mulacrum x.py: allow a custom string appended to the version This adds `rust.description` to the config as a descriptive string to be appended to `rustc --version` output, which is also used in places like debuginfo `DW_AT_producer`. This may be useful for supplementary build information, like distro-specific package versions. For example, in Fedora 33, `gcc --version` outputs: gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-6) With this change, we can add similar vendor info to `rustc --version`.
Configuration menu - View commit details
-
Copy full SHA for 642de64 - Browse repository at this point
Copy the full SHA 642de64View commit details -
Rollup merge of rust-lang#79222 - yoshuawuyts:slice-fill-with, r=m-ou-se
Add `core::slice::fill_with` Tracking issue rust-lang#79221. As suggested by `@m-ou-se` in rust-lang#70758 (comment) this implements `slice::fill_with` as a counterpart to `slice::fill`. This mirrors `Vec::resize` and `Vec::resize_with`. Thanks! r? `@m-ou-se`
Configuration menu - View commit details
-
Copy full SHA for 7af4939 - Browse repository at this point
Copy the full SHA 7af4939View commit details -
Rollup merge of rust-lang#79237 - alexcrichton:update-backtrace, r=Ma…
…rk-Simulacrum std: Update the bactrace crate submodule This commit updates the `library/backtrace` submodule which primarily pulls in support for split-debuginfo on macOS, avoiding the need for `dsymutil` to get run to get line numbers and filenames in backtraces.
Configuration menu - View commit details
-
Copy full SHA for 29a2aaf - Browse repository at this point
Copy the full SHA 29a2aafView commit details -
Rollup merge of rust-lang#79238 - eddyb:rustc-log-stderr, r=jyn514
Direct RUSTC_LOG (tracing/log) output to stderr instead of stdout. Looks like this got missed in the initial implementation, AFAIK the old behavior was to output on stderr. (Hit this while trying to debug `rustc` running inside a build script which was only letting stderr through) r? `@oli-obk` cc `@davidbarsky` `@hawkw`
Configuration menu - View commit details
-
Copy full SHA for 64abd99 - Browse repository at this point
Copy the full SHA 64abd99View commit details -
Rollup merge of rust-lang#79250 - RalfJung:miri, r=RalfJung
update miri Fixes rust-lang#79226 Cc `@rust-lang/miri` r? `@ghost`
Configuration menu - View commit details
-
Copy full SHA for 4123fb5 - Browse repository at this point
Copy the full SHA 4123fb5View commit details