| Age | Commit message (Collapse) | Author | Lines |
|
pnkfelix:stable-revert-effect-of-pr-77885-for-issue-83139, r=nagisa
[stable] probe-stack=call everywhere again, for now.
To buy time on issue 83139, revert effect of PR 77885: We will not conditionally
enable probe-stack=inline-asm on LLVM 11+ anymore on any of our targets that
opted into doing so on PR #77885 (and were subsequently configured to do so in a
fine grained manner on PR #80838).
After we resolve 83139 (potentially by backporting a fix to LLVM, or potentially
by deciding that one cannot rely on the quality of our DWARF output in the
manner described in issue 83139), we can change this back.
cc #83139
|
|
|
|
To buy time on issue 83139, revert effect of PR 77885: We will not conditionally
enable probe-stack=inline-asm on LLVM 11+ anymore on any of our targets that
opted into doing so on PR #77885 (and were subsequently configured to do so in a
fine grained manner on PR #80838).
After we resolve 83139 (potentially by backporting a fix to LLVM, or potentially
by deciding that one cannot rely on the quality of our DWARF output in the
manner described in issue 83139), we can change this back.
(Update: fixed formatting issue.)
|
|
[stable] 1.51.0 release
Also includes backports of the release notes, as well as:
* SplitInclusive is public API #83372
* std: Fix a bug on the wasm32-wasi target opening files #82804
* Fix io::copy specialization using copy_file_range when writer was opened with O_APPEND #82417
r? `@Mark-Simulacrum`
|
|
|
|
|
|
|
|
This commit fixes an issue pointed out in #82758 where LTO changed the
behavior of a program. It turns out that LTO was not at fault here, it
simply uncovered an existing bug. The bindings to
`__wasilibc_find_relpath` assumed that the relative portion of the path
returned was always contained within thee input `buf` we passed in. This
isn't actually the case, however, and sometimes the relative portion of
the path may reference a sub-portion of the input string itself.
The fix here is to use the relative path pointer coming out of
`__wasilibc_find_relpath` as the source of truth. The `buf` used for
local storage is discarded in this function and the relative path is
copied out unconditionally. We might be able to get away with some
`Cow`-like business or such to avoid the extra allocation, but for now
this is probably the easiest patch to fix the original issue.
|
|
|
|
|
|
|
|
r=Mark-Simulacrum
Revert PR 81473 to resolve (on beta) issues 81626 and 81658.
Revert PR #81473 to resolve (on beta) issues #81626 and #81658.
Revert "Add missing brace"
This reverts commit 85ad773049536d7fed9a94ae0ac74f97135c8655.
Revert "Simplify base_expr"
This reverts commit 899aae465eb4ef295dc1eeb2603f744568e0768c.
Revert "Warn write-only fields"
This reverts commit d3c69a4c0dd98af2611b7553d1a65afef6a6ccb0.
|
|
[beta] Update cargo
1 commits in 35a2a434d37e796e2f013f577b3c481f518afd97..43b129a20fbf1ede0df411396ccf0c024bf34134
2021-03-12 01:08:31 +0000 to 2021-03-16 22:05:51 +0000
- [beta] 1.51 backports (rust-lang/cargo#9277)
|
|
|
|
Revert "Add missing brace"
This reverts commit 85ad773049536d7fed9a94ae0ac74f97135c8655.
Revert "Simplify base_expr"
This reverts commit 899aae465eb4ef295dc1eeb2603f744568e0768c.
Revert "Warn write-only fields"
This reverts commit d3c69a4c0dd98af2611b7553d1a65afef6a6ccb0.
|
|
[beta] Update cargo
2 commits in 9294589828ca283c690625a7fade9d264e64606d..35a2a434d37e796e2f013f577b3c481f518afd97
2021-02-22 22:05:24 +0000 to 2021-03-12 01:08:31 +0000
- [beta] Fix issue with filtering exclusive target dependencies. (rust-lang/cargo#9257)
- Update split-debuginfo docs around the default. (rust-lang/cargo#9224)
|
|
|
|
[beta] backports
This backports some beta-accepted PRs and one additional LLVM fix for s390x.
- rustdoc: treat edition 2021 as unstable #82207
- Fix popping singleton paths in when generating E0433 #82259
- libtest: Fix unwrap panic on duplicate TestDesc #82274
- [intra-doc links] Don't check feature gates of items re-exported across crates #82295
- rustdoc: Remove duplicate "List of all items" #82484
- Substitute erased lifetimes on bad placeholder type #82494
- Revert LLVM D81803 because it broke Windows 7 #82605
- [SystemZ] Assign the full space for promoted and split outgoing args. rust-lang/llvm-project#95
r? `@Mark-Simulacrum`
|
|
|
|
This submodule update reverts <https://reviews.llvm.org/D81803>.
While that change is meant to fix a real bug, [LLVM PR42623], it caused
new permission errors on Windows 7 that make it unable to build any
archives. This is probably the same root cause as [LLVM PR48378].
Fixes #81051. We'll file a new Rust issue to track the LLVM resolution.
[LLVM PR42623]: https://bugs.llvm.org/show_bug.cgi?id=42623
[LLVM PR48378]: https://bugs.llvm.org/show_bug.cgi?id=48378
(cherry picked from commit 31814c41aa8df26450bb3aa2dac0883d95394bca)
|
|
Fix #82455.
(cherry picked from commit 5ad60888275852136adea38aebc7fcce69b52474)
|
|
(cherry picked from commit d3f75ebf609eed01b39fb7528745f2fce88e33e6)
|
|
(cherry picked from commit 3be69b100f6678c42eff36e18505c2ba9419647a)
|
|
It should be never break another crate to re-export a public item.
Note that this doesn't check the feature gate at
*all* for other crates:
- Feature-gates aren't currently serialized, so the only way to check
the gate is with ad-hoc attribute checking.
- Checking the feature gate twice (once when documenting the original
crate and one when documenting the current crate) seems not great.
This should still catch using the feature most of the time though, since
people tend to document their own crates.
(cherry picked from commit fdb32e997bef725f538f66dcfd96b1c1e51d2c56)
|
|
It is possible for different tests to collide to the same TestDesc
when macros are involved. That is a bug, but it didn’t cause a panic
until #81367. For now, change the code to ignore this problem.
Fixes #81852.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 1605af015c493c4800be9b56d7eb8d759f9a7d3c)
|
|
Fixes #82156
(cherry picked from commit 9889e44470cbc6ae3c8e2fcfb6016ed15ed8cf51)
|
|
(cherry picked from commit ee0e841a2e949cba1dcf3a2fb04e9a673681e4fd)
|
|
[beta] Fix TcpListener::accept() on x86 Android on beta by disabling the use of accept4.
This is the same as #82475, but for beta.
In a nutshell: `TcpListener::accept` is broken on Android x86 on stable and beta because it performs a raw `accept4` syscall, which doesn't exist on that platform. This was originally reported in #82400, so you can find more details there.
`@rustbot` label +O-android
r? `@Mark-Simulacrum`
|
|
On x86 before Linux 4.3, accept4 is not a separate syscall.
Instead, it can be called using `socketcall(SYS_ACCEPT4, ...).
Rather than implementing that here, just fall back to `accept`.
|
|
[beta] Update cargo
Backport of https://github.com/rust-lang/cargo/pull/9196:
* Fix panic with doc collision orphan. (https://github.com/rust-lang/cargo/pull/9142)
* Do not exit prematurely if anything failed installing. (https://github.com/rust-lang/cargo/pull/9185)
* Add schema field to the index (https://github.com/rust-lang/cargo/pull/9161)
* Fix warnings of the new non_fmt_panic lint (https://github.com/rust-lang/cargo/pull/9148)
|
|
|
|
[beta] backports
This backports some PRs and bumps to the released stable compiler:
* bootstrap: fix wrong docs installation path #81968
* parser: Fix panic in 'const impl' recovery #81876
* Don't display `mut` in arguments for functions documentation #81831
r? `@Mark-Simulacrum`
|
|
|
|
|
|
This reverts commit 31375d2074aeed0c6f173aa200f0bd3bf6d36756.
|
|
The panic happens when in recovery parsing a full `impl`
(`parse_item_impl`) fails and we drop the `DiagnosticBuilder` for the
recovery suggestion and return the `parse_item_impl` error.
We now raise the original error "expected identifier found `impl`" when
parsing the `impl` fails.
Note that the regression test is slightly simplified version of the
original repro in #81806, to make the error output smaller and more
resilient to unrelated changes in parser error messages.
Fixes #81806
|
|
|
|
|
|
Prepare beta 1.51.0
cc `@rust-lang/release`
r? `@ghost`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rollup of 7 pull requests
Successful merges:
- #80011 (Stabilize `peekable_next_if`)
- #81580 (Document how `MaybeUninit<Struct>` can be initialized.)
- #81610 (BTreeMap: make Ord bound explicit, compile-test its absence)
- #81664 (Avoid a hir access inside get_static)
- #81675 (Make rustdoc respect `--error-format short` in doctests)
- #81753 (Never MIR inline functions with a different instruction set)
- #81795 (Small refactor with Iterator::reduce)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
|
|
Small refactor with Iterator::reduce
|
|
Never MIR inline functions with a different instruction set
|