-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 #111231
Rollup of 8 pull requests #111231
Commits on Apr 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d5e7ac5 - Browse repository at this point
Copy the full SHA d5e7ac5View commit details
Commits on May 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6bb1f79 - Browse repository at this point
Copy the full SHA 6bb1f79View commit details -
remove
inside_canonicalization_ctxt
flagwe never reach the code checking for this flag while the flag is enabled, so it does not change the behavior of the code.
Configuration menu - View commit details
-
Copy full SHA for 0c5fe37 - Browse repository at this point
Copy the full SHA 0c5fe37View commit details
Commits on May 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b71ce29 - Browse repository at this point
Copy the full SHA b71ce29View commit details -
Reorder some
MemDecoder
methods.So they match the order in the `Decoder` trait.
Configuration menu - View commit details
-
Copy full SHA for 58002fa - Browse repository at this point
Copy the full SHA 58002faView commit details -
Remove unneeded encode/decode methods.
In rust-lang#110927 the encode/decode methods for `i8`, `char`, `bool`, and `str` were made inherent. This commit removes some unnecessary implementations of these methods that were missed in that PR.
Configuration menu - View commit details
-
Copy full SHA for 6b70be2 - Browse repository at this point
Copy the full SHA 6b70be2View commit details -
Rename
file_encoder_write_leb128!
.`MemEncoder` was recently removed, leaving `FileEncoder` as the only encoder. So this prefix is no longer needed, and `write_leb128!` matches the existing `read_leb128!`.
Configuration menu - View commit details
-
Copy full SHA for 4ac959a - Browse repository at this point
Copy the full SHA 4ac959aView commit details -
Factor out more repeated code in
{write,read}_leb128!
.Make them generate the entire function, not just the function body.
Configuration menu - View commit details
-
Copy full SHA for 723ca2a - Browse repository at this point
Copy the full SHA 723ca2aView commit details -
bootstrap: add llvm-project/runtimes to the sources
This is needed to build libunwind for LLVM 16: https://discourse.llvm.org/t/runtimes-removed-support-for-llvm-enable-projects-in-libcxx-libcxxabi-and-libunwind/65707 Doesn't work: with this, running `python3 x.py dist` produces a tar archive that still doesn't contain the runtimes subdirectory?
Configuration menu - View commit details
-
Copy full SHA for 025c603 - Browse repository at this point
Copy the full SHA 025c603View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad0388d - Browse repository at this point
Copy the full SHA ad0388dView commit details -
Don't print backtrace on ICEs in
issue-86800.rs
.Because it then just has to be filtered out. This change makes this test more like these other tests: - tests/ui/treat-err-as-bug/err.rs - tests/ui/treat-err-as-bug/delay_span_bug.rs - tests/ui/mir/validate/storage-live.rs - tests/ui/associated-inherent-types/bugs/ice-substitution.rs - tests/ui/layout/valid_range_oob.rs
Configuration menu - View commit details
-
Copy full SHA for 8702591 - Browse repository at this point
Copy the full SHA 8702591View commit details -
Improve filtering in
default-backtrace-ice.rs
.This test is supposed to ensure that full backtraces are used for ICEs. But it doesn't actually do that -- the filtering done cannot distinguish between a full backtrace versus a short backtrace. So this commit changes the filtering to preserve the existence of `__rust_{begin,end}_short_backtrace` markers, which only appear in full backtraces. This change means the test now tests what it is supposed to test. Also, the existing filtering included a rule that excluded any line starting with two spaces. This was too strong because it filtered out some parts of the error message. (This was not a showstopper). It was also not strong enough because it didn't work with three digit stack frame numbers, which just started seeing after upgrading my Ubuntu distro to 23.04 machine (this *was* a showstopper). So the commit replaces that rule with two more precise rules, one for lines with stack frame numbers, and one for "at ..." lines.
Configuration menu - View commit details
-
Copy full SHA for f20738d - Browse repository at this point
Copy the full SHA f20738dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2caebc - Browse repository at this point
Copy the full SHA e2caebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ffe905 - Browse repository at this point
Copy the full SHA 1ffe905View commit details -
Use
free-args
consistently in bootstrapPreviously, this was only passed to miri and compiletest. Extended it to all other tests and binaries as well.
Configuration menu - View commit details
-
Copy full SHA for 0b6a79e - Browse repository at this point
Copy the full SHA 0b6a79eView commit details
Commits on May 5, 2023
-
Rollup merge of rust-lang#110946 - RalfJung:tls-realstd, r=m-ou-se
avoid duplicating TLS state between test std and realstd This basically re-lands rust-lang#100201 and rust-lang#106638, which got reverted by rust-lang#110861. This works around 2 Miri limitations: - Miri doesn't support the magic linker section that our Windows TLS support relies on, and instead knows where in std to find the symbol that stores the thread callback. - For macOS, Miri only supports at most one destructor to be registered per thread. The 2nd would not be very hard to fix (though the intended destructor order is unclear); the first would be a lot of work to fix. Neither of these is a problem for regular Rust code, but in the std test suite we have essentially 2 copies of the std code and then these both become issues. To avoid that we have the std test crate import the TLS code from the real std instead of having its own copy. r? ``````@m-ou-se``````
Configuration menu - View commit details
-
Copy full SHA for d98e174 - Browse repository at this point
Copy the full SHA d98e174View commit details -
Rollup merge of rust-lang#110954 - cjgillot:const-prop-ref, r=wesleyw…
…iser Reject borrows of projections in ConstProp. Fixes rust-lang#110947
Configuration menu - View commit details
-
Copy full SHA for 18d4e22 - Browse repository at this point
Copy the full SHA 18d4e22View commit details -
Rollup merge of rust-lang#111052 - nnethercote:fix-ice-test, r=Nilstrieb
Fix problems with backtraces in two ui tests. `default-backtrace-ice.rs` started started failing for me recently, because on my Ubuntu 23.04 system there are 100 stack frames, and the current stack filtering pattern doesn't match on a stack frame with a three digit number. `issue-86800.rs` can also be improved, backtrace-wise. r? `@Nilstrieb`
Configuration menu - View commit details
-
Copy full SHA for b2ee088 - Browse repository at this point
Copy the full SHA b2ee088View commit details -
Rollup merge of rust-lang#111132 - lcnr:nll-generalize, r=b-naber
cleanup nll generalizer followup to rust-lang#108861
Configuration menu - View commit details
-
Copy full SHA for f5c50e3 - Browse repository at this point
Copy the full SHA f5c50e3View commit details -
Rollup merge of rust-lang#111173 - nnethercote:still-more-Encoder-cle…
…anups, r=cjgillot Still more encoder cleanups r? ``@cjgillot``
Configuration menu - View commit details
-
Copy full SHA for 31e2f4d - Browse repository at this point
Copy the full SHA 31e2f4dView commit details -
Rollup merge of rust-lang#111187 - krasimirgg:llvm-runtimes, r=jyn514
bootstrap: add llvm-project/runtimes to the sources This is needed to build libunwind for LLVM 16: https://discourse.llvm.org/t/runtimes-removed-support-for-llvm-enable-projects-in-libcxx-libcxxabi-and-libunwind/65707 Zulip thread: https://rust-lang.zulipchat.com/#narrow/stream/187780-t-compiler.2Fwg-llvm/topic/missing.20llvm-project.2Fruntimes.20in.20beta.20srcs Checked by running `x.py dist` and verifying the produced source archive (build/dist/rustc-1.71.0-dev-src.tar.gz) contains the new directory.
Configuration menu - View commit details
-
Copy full SHA for 5d85652 - Browse repository at this point
Copy the full SHA 5d85652View commit details -
Rollup merge of rust-lang#111213 - WaffleLapkin:fixup_dates, r=scottmcm
Fixup "since" dates for `array_tuple_conv` feature Fixes a mistake from rust-lang#97594
Configuration menu - View commit details
-
Copy full SHA for 17a6c08 - Browse repository at this point
Copy the full SHA 17a6c08View commit details -
Rollup merge of rust-lang#111223 - jyn514:free-args, r=clubby789
Use `free-args` consistently in bootstrap Previously, this was only passed to miri and compiletest. Extended it to all other tests and binaries as well. cc https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/Running.20a.20single.20doctest r? `@clubby789`
Configuration menu - View commit details
-
Copy full SHA for 650dc01 - Browse repository at this point
Copy the full SHA 650dc01View commit details