-
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 15 pull requests #84928
Rollup of 15 pull requests #84928
Commits on Apr 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5d9eeff - Browse repository at this point
Copy the full SHA 5d9eeffView commit details
Commits on Apr 29, 2021
-
Use atomics in join_orders_after_tls_destructors test
std::sync::mpsc uses thread locals and depending on the order TLS dtors are run `rx.recv()` can panic when used in a TLS dtor.
Configuration menu - View commit details
-
Copy full SHA for 8a0a4b1 - Browse repository at this point
Copy the full SHA 8a0a4b1View commit details
Commits on Apr 30, 2021
-
Fix linker_args with --target=sparcv9-sun-solaris
Moved -z ignore to add_as_needed Trying to cross-compile for sparcv9-sun-solaris getting an error message for -zignore Introduced when -z -ignore was separated here 22d0ab0 No formatting done Reproduce ``` bash rustup target add sparcv9-sun-solaris cargo new --bin hello && cd hello && cargo run --target=sparcv9-sun-solaris ``` config.toml [target.sparcv9-sun-solaris] linker = "gcc"
Configuration menu - View commit details
-
Copy full SHA for fe68b1a - Browse repository at this point
Copy the full SHA fe68b1aView commit details
Commits on May 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 50c3890 - Browse repository at this point
Copy the full SHA 50c3890View commit details -
Report coverage
0
of dead blocksFixes: rust-lang#84018 With `-Z instrument-coverage`, coverage reporting of dead blocks (for example, blocks dropped because a conditional branch is dropped, based on const evaluation) is now supported. If `instrument-coverage` is enabled, `simplify::remove_dead_blocks()` finds all dropped coverage `Statement`s and adds their `code_region`s as `Unreachable` coverage `Statement`s to the `START_BLOCK`, so they are still included in the coverage map. Check out the resulting changes in the test coverage reports in this PR.
Configuration menu - View commit details
-
Copy full SHA for 0b0d293 - Browse repository at this point
Copy the full SHA 0b0d293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fca198 - Browse repository at this point
Copy the full SHA 3fca198View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd43d13 - Browse repository at this point
Copy the full SHA dd43d13View commit details
Commits on May 2, 2021
-
Account for unsatisfied bounds in E0599
Fix rust-lang#84769, follow up to rust-lang#84499, rust-lang#83667.
Configuration menu - View commit details
-
Copy full SHA for 1e89b58 - Browse repository at this point
Copy the full SHA 1e89b58View commit details
Commits on May 3, 2021
-
Clippy: Decreases indentation and improves readability Signed-off-by: wcampbell <wcampbell1995@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2e559c8 - Browse repository at this point
Copy the full SHA 2e559c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4bfb0e - Browse repository at this point
Copy the full SHA b4bfb0eView commit details -
rustbuild: Pass a
threads
flag that works to windows-gnu lldMinGW driver for COFF LLD doesn't currently translate GNU-style `--threads=N` to native `/threads:N`, so we have to pass the option in its native form to avoid an error. Also pass the `threads` flag to lld-link as well
Configuration menu - View commit details
-
Copy full SHA for f9eda61 - Browse repository at this point
Copy the full SHA f9eda61View commit details -
manually crafted revert of PR rust-lang#80653, to address issue rust-…
…lang#82465. (update: placated tidy)
Configuration menu - View commit details
-
Copy full SHA for 03c763e - Browse repository at this point
Copy the full SHA 03c763eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86e3f76 - Browse repository at this point
Copy the full SHA 86e3f76View commit details -
Configuration menu - View commit details
-
Copy full SHA for d53469c - Browse repository at this point
Copy the full SHA d53469cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d459b5d - Browse repository at this point
Copy the full SHA d459b5dView commit details -
Update
ptr
docs with regards toptr::addr_of!
This updates the documentation since `ptr::addr_of!` and `ptr::addr_of_mut!` are now stable. One might remove the distinction between the sections `# On packed structs` and `# Examples`, as the old section on packed structs was primarily to prevent users of doing unde- fined behavior, which is not necessary anymore. There is also a new section in "how to obtain a pointer", which referen- ces the `ptr::addr_of!` macros. This commit contains squashed commits from code review. Co-authored-by: Joshua Nelson <joshua@yottadb.com> Co-authored-by: Mara Bos <m-ou.se@m-ou.se> Co-authored-by: Soveu <marx.tomasz@gmail.com> Co-authored-by: Ralf Jung <post@ralfj.de>
Configuration menu - View commit details
-
Copy full SHA for 389333a - Browse repository at this point
Copy the full SHA 389333aView commit details
Commits on May 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 450d121 - Browse repository at this point
Copy the full SHA 450d121View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67f228e - Browse repository at this point
Copy the full SHA 67f228eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 715a2d4 - Browse repository at this point
Copy the full SHA 715a2d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4c1ade - Browse repository at this point
Copy the full SHA d4c1adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bacfc34 - Browse repository at this point
Copy the full SHA bacfc34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ba2c6a - Browse repository at this point
Copy the full SHA 0ba2c6aView commit details -
Do not ICE on invalid const param
When encountering a path that can't have generics, do not call `generics_of`. This would happen when writing something like `path::this_is_a_mod<const_val>`. Fix rust-lang#84831.
Configuration menu - View commit details
-
Copy full SHA for 11379f0 - Browse repository at this point
Copy the full SHA 11379f0View commit details -
Rollup merge of rust-lang#83004 - sunjay:field-never-read-issue-81658…
…, r=pnkfelix Improve diagnostic for when field is never read Related to (but does not close) rust-lang#81658 This completes the first step of `````@pnkfelix's````` [mentoring instructions](rust-lang#81658 (comment)) but does not actually improve the diagnostics (yet!). The two tests are heavily reduced versions of code from the original bug report. I've confirmed that the reduced `field-used-in-ffi` test [fails on nightly](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=f0862c89ddca028c55c20a5ed05e679a) but [passes on stable](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=f0862c89ddca028c55c20a5ed05e679a). This confirms that the regression is reproduced correctly. The `drop-only-field` test is a case that `````@pnkfelix````` mentioned in his mentoring instructions. It is not a regression, but will come in handy when we make the diagnostic smarter by looking at whether the field type implements `Drop`. Per the [rustc-dev-guide](https://rustc-dev-guide.rust-lang.org/tests/adding.html), each test includes a comment summarizing what it is about.
Configuration menu - View commit details
-
Copy full SHA for a99ff06 - Browse repository at this point
Copy the full SHA a99ff06View commit details -
Rollup merge of rust-lang#83553 - jfrimmel:addr-of, r=m-ou-se
Update `ptr` docs with regards to `ptr::addr_of!` This updates the documentation since `ptr::addr_of!` and `ptr::addr_of_mut!` are now stable. One might remove the distinction between the sections `# On packed structs` and `# Examples`, as the old section on packed structs was primarily to prevent users of doing undefined behavior, which is not necessary anymore. Technically there is now wrong/outdated documentation on stable, but I don't think this is worth a point release 😉 Fixes rust-lang#83509. `````@rustbot````` modify labels: T-doc
Configuration menu - View commit details
-
Copy full SHA for ed33dd1 - Browse repository at this point
Copy the full SHA ed33dd1View commit details -
Rollup merge of rust-lang#84183 - rust-lang:relnotes-1.52.0, r=pietro…
…albini Update RELEASES.md for 1.52.0 ### [Rendered](https://github.com/rust-lang/rust/blob/relnotes-1.52.0/RELEASES.md) r? ```@Mark-Simulacrum``` cc ```@rust-lang/release```
Configuration menu - View commit details
-
Copy full SHA for 8955013 - Browse repository at this point
Copy the full SHA 8955013View commit details -
Rollup merge of rust-lang#84409 - mzohreva:mz/tls-dtors-before-join, …
…r=dtolnay Ensure TLS destructors run before thread joins in SGX The excellent test is from `@jethrogb` For context see: rust-lang#83416 (comment)
Configuration menu - View commit details
-
Copy full SHA for f8296b8 - Browse repository at this point
Copy the full SHA f8296b8View commit details -
Rollup merge of rust-lang#84468 - iladin:iladin/fix-84467, r=petroche…
…nkov Fix#84467 linker_args with --target=sparcv9-sun-solaris Trying to cross-compile for sparcv9-sun-solaris getting a error message for -zignore Introduced when -z -ignore was seperated here 22d0ab0 No formatting done Reproduce ``` bash rustup target add sparcv9-sun-solaris cargo new --bin hello && cd hello && cargo run --target=sparcv9-sun-solaris ``` config.toml [target.sparcv9-sun-solaris] linker = "gcc"
Configuration menu - View commit details
-
Copy full SHA for 89f9b08 - Browse repository at this point
Copy the full SHA 89f9b08View commit details -
Rollup merge of rust-lang#84787 - klensy:deps-bump, r=Mark-Simulacrum
bump deps openssl vulns: https://rustsec.org/advisories/RUSTSEC-2021-0056.html https://rustsec.org/advisories/RUSTSEC-2021-0055.html openssl-src v111.12.0+1.1.1h -> v111.15.0+1.1.1k not latest, but newer openssl-sys v0.9.58 -> v0.9.61 openssl v0.10.30 -> v0.10.33 curl vulns: https://curl.se/docs/vuln-7.74.0.html curl v0.4.34 -> v0.4.36 curl-sys v0.4.39+curl-7.74.0 -> v0.4.42+curl-7.76.0
Configuration menu - View commit details
-
Copy full SHA for 6d6121a - Browse repository at this point
Copy the full SHA 6d6121aView commit details -
Rollup merge of rust-lang#84797 - richkadel:cover-unreachable-stateme…
…nts, r=tmandry Report coverage `0` of dead blocks Fixes: rust-lang#84018 With `-Z instrument-coverage`, coverage reporting of dead blocks (for example, blocks dropped because a conditional branch is dropped, based on const evaluation) is now supported. If `instrument-coverage` is enabled, `simplify::remove_dead_blocks()` finds all dropped coverage `Statement`s and adds their `code_region`s as `Unreachable` coverage `Statement`s to the `START_BLOCK`, so they are still included in the coverage map. Check out the resulting changes in the test coverage reports in this PR. I also addressed an outstanding issue/request to move coverage tests from run-make-fulldeps to run-make (in commit 2). Fixes: rust-lang#83830 r? `````@tmandry````` cc: `````@wesleywiser`````
Configuration menu - View commit details
-
Copy full SHA for f189603 - Browse repository at this point
Copy the full SHA f189603View commit details -
Rollup merge of rust-lang#84803 - jyn514:duplicate-macros, r=petroche…
…nkov Reduce duplication in `impl_dep_tracking_hash` macros Cherry-picked from rust-lang#84234 since it will be a while until it lands.
Configuration menu - View commit details
-
Copy full SHA for 57ec93a - Browse repository at this point
Copy the full SHA 57ec93aView commit details -
Rollup merge of rust-lang#84808 - estebank:issue-84769, r=petrochenkov
Account for unsatisfied bounds in E0599 Fix rust-lang#84769, follow up to rust-lang#84499, rust-lang#83667.
Configuration menu - View commit details
-
Copy full SHA for df55085 - Browse repository at this point
Copy the full SHA df55085View commit details -
Rollup merge of rust-lang#84843 - wcampbell0x2a:use-else-if-let, r=dt…
…olnay use else if in std library Decreases indentation and improves readability
Configuration menu - View commit details
-
Copy full SHA for 7153b3d - Browse repository at this point
Copy the full SHA 7153b3dView commit details -
Rollup merge of rust-lang#84865 - petrochenkov:llthread, r=Mark-Simul…
…acrum rustbuild: Pass a `threads` flag that works to windows-gnu lld MinGW driver for COFF LLD doesn't currently translate GNU-style `--threads=N` to native `/threads:N`, so we have to pass the option in its native form to avoid an error. Also pass the `threads` flag to lld-link (windows-msvc lld) as well.
Configuration menu - View commit details
-
Copy full SHA for 755a3a4 - Browse repository at this point
Copy the full SHA 755a3a4View commit details -
Rollup merge of rust-lang#84867 - pnkfelix:rustdoc-revert-deref-recur…
…, r=jyn514 rustdoc: revert deref recur to resume inclusion of impl ExtTrait<Local> for ExtType As discussed here: rust-lang#82465 (comment), Revert PR rust-lang#80653 to resolve issue rust-lang#82465. Issue rust-lang#82465 was we had stopped including certain trait implementations, namely implementations on an imported type of an imported trait *instantiated on a local type*. That bug was injected by PR rust-lang#80653. Reverting rust-lang#80653 means we don't list all the methods that you have accessible via recursively applying `Deref`. [Discussion in last week's rustc triage meeting](https://zulip-archive.rust-lang.org/238009tcompilermeetings/19557weekly2021042954818.html#236680594) led us to conclude that the bug was worse than the enhancement, and there was not an obvious fix for the bug itself. So for the short term we remove the enhancement, while in the long term we will work on figuring out a way to have our imported trait implementation cake and eat it too.
Configuration menu - View commit details
-
Copy full SHA for f651a5f - Browse repository at this point
Copy the full SHA f651a5fView commit details -
Rollup merge of rust-lang#84878 - jimblandy:contains-doc-fix, r=josht…
…riplett Clarify documentation for `[T]::contains`. Fixes rust-lang#84877. Change the documentation to correctly characterize when the suggested alternative to `contains` applies, and correctly explain why it works.
Configuration menu - View commit details
-
Copy full SHA for 47b6b34 - Browse repository at this point
Copy the full SHA 47b6b34View commit details -
Rollup merge of rust-lang#84882 - joshtriplett:platform-support-forma…
…tting, r=Dylan-DPC platform-support: Center the contents of the `std` and `host` columns Minor formatting improvement.
Configuration menu - View commit details
-
Copy full SHA for 0b861df - Browse repository at this point
Copy the full SHA 0b861dfView commit details -
Rollup merge of rust-lang#84913 - estebank:issue-84831, r=varkor
Do not ICE on invalid const param When encountering a path that can't have generics, do not call `generics_of`. This would happen when writing something like `path::this_is_a_mod<const_val>`. Fix rust-lang#84831.
Configuration menu - View commit details
-
Copy full SHA for 5d8f6ff - Browse repository at this point
Copy the full SHA 5d8f6ffView commit details