-
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 #119755
Rollup of 8 pull requests #119755
Commits on Dec 15, 2023
-
Use assert_unsafe_precondition for char::from_u32_unchecked
Co-Authored-By: joboet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab716d0 - Browse repository at this point
Copy the full SHA ab716d0View commit details
Commits on Dec 31, 2023
-
This flag specifies whether LLVM generates async unwind or sync unwind.
Configuration menu - View commit details
-
Copy full SHA for 12784c3 - Browse repository at this point
Copy the full SHA 12784c3View commit details
Commits on Jan 5, 2024
-
Preparing for merge from rustc
The Miri Conjob Bot committedJan 5, 2024 Configuration menu - View commit details
-
Copy full SHA for 4c4c6a6 - Browse repository at this point
Copy the full SHA 4c4c6a6View commit details -
The Miri Conjob Bot committed
Jan 5, 2024 Configuration menu - View commit details
-
Copy full SHA for d11a2bd - Browse repository at this point
Copy the full SHA d11a2bdView commit details -
Auto merge of rust-lang#3252 - rust-lang:rustup-2024-01-05, r=RalfJung
Automatic Rustup
Configuration menu - View commit details
-
Copy full SHA for 39c714b - Browse repository at this point
Copy the full SHA 39c714bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a10b3cd - Browse repository at this point
Copy the full SHA a10b3cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80ee0c0 - Browse repository at this point
Copy the full SHA 80ee0c0View commit details -
Auto merge of rust-lang#3253 - matthiaskrgr:noclone, r=RalfJung
remove redundant clone
Configuration menu - View commit details
-
Copy full SHA for d334a4b - Browse repository at this point
Copy the full SHA d334a4bView commit details
Commits on Jan 6, 2024
-
Preparing for merge from rustc
The Miri Conjob Bot committedJan 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 7e4e9ad - Browse repository at this point
Copy the full SHA 7e4e9adView commit details -
The Miri Conjob Bot committed
Jan 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 078f228 - Browse repository at this point
Copy the full SHA 078f228View commit details -
The Miri Conjob Bot committed
Jan 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 46f53c8 - Browse repository at this point
Copy the full SHA 46f53c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c98b78 - Browse repository at this point
Copy the full SHA 1c98b78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58c80a0 - Browse repository at this point
Copy the full SHA 58c80a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac4526d - Browse repository at this point
Copy the full SHA ac4526dView commit details -
Auto merge of rust-lang#3254 - rust-lang:rustup-2024-01-06, r=saethlin
Automatic Rustup
Configuration menu - View commit details
-
Copy full SHA for 0814a56 - Browse repository at this point
Copy the full SHA 0814a56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 643e7f0 - Browse repository at this point
Copy the full SHA 643e7f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66b15ae - Browse repository at this point
Copy the full SHA 66b15aeView commit details
Commits on Jan 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b8209e2 - Browse repository at this point
Copy the full SHA b8209e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4a11ea - Browse repository at this point
Copy the full SHA c4a11eaView commit details -
Auto merge of rust-lang#3259 - RalfJung:jemalloc, r=RalfJung
use jemalloc as global allocator Hopefully fixes rust-lang/miri#3255
Configuration menu - View commit details
-
Copy full SHA for d93ca6e - Browse repository at this point
Copy the full SHA d93ca6eView commit details -
Auto merge of rust-lang#3256 - RalfJung:rounding, r=RalfJung
implement the rounding intrinsics using apfloat rounding No reason to use host floats for these. Also merge two files that were both testing various float things.
Configuration menu - View commit details
-
Copy full SHA for 8675aa1 - Browse repository at this point
Copy the full SHA 8675aa1View commit details -
Auto merge of rust-lang#3257 - RalfJung:build-tests, r=RalfJung
./miri build: also build tests, to avoid rebuilds later
Configuration menu - View commit details
-
Copy full SHA for 6f017d2 - Browse repository at this point
Copy the full SHA 6f017d2View commit details -
Adding alignment to the list of cases to test for specific error mess…
…age. Covers `>`, `^` and `<`.
Configuration menu - View commit details
-
Copy full SHA for 5b30586 - Browse repository at this point
Copy the full SHA 5b30586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d5de70 - Browse repository at this point
Copy the full SHA 7d5de70View commit details -
Auto merge of rust-lang#3260 - saethlin:build-all-tier-2, r=RalfJung
Check if tier 2 targets build in the nightly cron job This PR adds a CI job that only runs nightly which will install Miri built from the latest commit, and try to build every Tier 2 without host tools target, as documented on https://doc.rust-lang.org/nightly/rustc/platform-support.html. I'm not really excited about the idea of scraping the tier 2 without host tools list, but also keeping the list up-to-date by hand seems prone to forgetting to update it. And that update seems like the sort of manual maintenance we should automate.
Configuration menu - View commit details
-
Copy full SHA for d475e62 - Browse repository at this point
Copy the full SHA d475e62View commit details
Commits on Jan 8, 2024
-
The internal, unstable field of `Pin` can conflict with fields from the inner type accessed via the `Deref` impl. Rename it from `pointer` to `__pointer`, to make it less likely to conflict with anything else.
Configuration menu - View commit details
-
Copy full SHA for 985402d - Browse repository at this point
Copy the full SHA 985402dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ff1b8 - Browse repository at this point
Copy the full SHA 56ff1b8View commit details -
Auto merge of rust-lang#3261 - RalfJung:jemalloc, r=RalfJung
only use jemalloc on Linux and macOS hopefully fixes [this](rust-lang#119707 (comment))
Configuration menu - View commit details
-
Copy full SHA for 8d4a5c7 - Browse repository at this point
Copy the full SHA 8d4a5c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ddccf9 - Browse repository at this point
Copy the full SHA 0ddccf9View commit details -
enable RUSTC_BOOTSTRAP on panic=abort mir-opt test
Signed-off-by: onur-ozkan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8aa7dd0 - Browse repository at this point
Copy the full SHA 8aa7dd0View commit details -
detect user-specified custom targets in compiletest
Signed-off-by: onur-ozkan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26c71cb - Browse repository at this point
Copy the full SHA 26c71cbView commit details -
fix the incorrect target on stage1 ui-fulldeps tests
Signed-off-by: onur-ozkan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b888e2f - Browse repository at this point
Copy the full SHA b888e2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8abf133 - Browse repository at this point
Copy the full SHA 8abf133View commit details -
Configuration menu - View commit details
-
Copy full SHA for 506c066 - Browse repository at this point
Copy the full SHA 506c066View commit details -
Rollup merge of rust-lang#117744 - quininer:add-z-sync-uw, r=bjorn3
Add -Zuse-sync-unwind Currently Rust uses async unwind by default, but async unwind will bring non-negligible size overhead. it would be nice to allow users to choose this. In addition, async unwind currently prevents LLVM from generate compact unwind for MachO, if one wishes to generate compact unwind for MachO, then also needs this flag.
Configuration menu - View commit details
-
Copy full SHA for c572326 - Browse repository at this point
Copy the full SHA c572326View commit details -
Rollup merge of rust-lang#118649 - compiler-errors:coherence-ambig, r…
…=lcnr Make inductive cycles in coherence ambiguous always Logical conclusion of rust-lang#114040 One step after rust-lang#116493 cc rust-lang/trait-system-refactor-initiative#20 r? lcnr to kick off the FCP after review... maybe we should wait until 1.75 is landed? In that case, I'd still like to get the FCP boxes checked sooner since that'll be near the holidays which means everyone's away.
Configuration menu - View commit details
-
Copy full SHA for 51427de - Browse repository at this point
Copy the full SHA 51427deView commit details -
Rollup merge of rust-lang#118979 - ChrisDenton:unwrap-const, r=Nilstr…
…ieb,dtolnay Use `assert_unsafe_precondition` for `char::from_u32_unchecked` Use `assert_unsafe_precondition` in `char::from_u32_unchecked` so that it can be stabilized as `const`.
Configuration menu - View commit details
-
Copy full SHA for bb2b77a - Browse repository at this point
Copy the full SHA bb2b77aView commit details -
Rollup merge of rust-lang#119562 - LegionMammal978:rename-pin-pointer…
…, r=Amanieu Rename `pointer` field on `Pin` A few days ago, I was helping another user create a self-referential type using `PhantomPinned`. However, I noticed an odd behavior when I tried to access one of the type's fields via `Pin`'s `Deref` impl: ```rust use std::{marker::PhantomPinned, ptr}; struct Pinned { data: i32, pointer: *const i32, _pin: PhantomPinned, } fn main() { let mut b = Box::pin(Pinned { data: 42, pointer: ptr::null(), _pin: PhantomPinned, }); { let pinned = unsafe { b.as_mut().get_unchecked_mut() }; pinned.pointer = &pinned.data; } println!("{}", unsafe { *b.pointer }); } ``` ```rust error[E0658]: use of unstable library feature 'unsafe_pin_internals' --> <source>:19:30 | 19 | println!("{}", unsafe { *b.pointer }); | ^^^^^^^^^ error[E0277]: `Pinned` doesn't implement `std::fmt::Display` --> <source>:19:20 | 19 | println!("{}", unsafe { *b.pointer }); | ^^^^^^^^^^^^^^^^^^^^^ `Pinned` cannot be formatted with the default formatter | = help: the trait `std::fmt::Display` is not implemented for `Pinned` = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) ``` Since the user named their field `pointer`, it conflicts with the `pointer` field on `Pin`, which is public but unstable since Rust 1.60.0 with rust-lang#93176. On versions from 1.33.0 to 1.59.0, where the field on `Pin` is private, this program compiles and prints `42` as expected. To avoid this confusing behavior, this PR renames `pointer` to `__pointer`, so that it's less likely to conflict with a `pointer` field on the underlying type, as accessed through the `Deref` impl. This is technically a breaking change for anyone who names their field `__pointer` on the inner type; if this is undesirable, it could be renamed to something more longwinded. It's also a nightly breaking change for any external users of `unsafe_pin_internals`.
Configuration menu - View commit details
-
Copy full SHA for b6d9423 - Browse repository at this point
Copy the full SHA b6d9423View commit details -
Rollup merge of rust-lang#119619 - onur-ozkan:panic-abort-mir-opt, r=…
…oli-obk mir-opt and custom target fixes From rust-lang#115642 (comment) > > Could you please test the last two commits from https://github.com/onur-ozkan/rust/commits/panic-abort-mir-opt when you have the time? The first commit should resolve the error of using the nightly flag with a stable compiler, and the second one should resolve the custom target issue. > I tested with the two commits and the errors of using nightly flag and custom target specs were not seen. Testing was completed for the test suites like ui, run-pass-valgrind, coverage, mir-opt, codegen, assembly, incremental. Fixes rust-lang#115642
Configuration menu - View commit details
-
Copy full SHA for d39a8b0 - Browse repository at this point
Copy the full SHA d39a8b0View commit details -
Rollup merge of rust-lang#119632 - ivmarkov:master, r=Nilstrieb,dtolnay
Fix broken build for ESP IDF due to rust-lang#119026 `target_os = "espidf"` in `libc` lacks the `SOMAXCONN` constant, but that's probably irrelevant in this context, as `UnixListener` is not supported on ESP IDF - it being a single process "OS" only. The PR just re-uses the `128` constant so that the code builds. Trying to use the listener on ESP IDF will fail with `ENOSYS`, which is fine. *UPDATE* Might not fail with `ENOSYS` - need to test what error code would be returned, but that doesn`t change anything.
Configuration menu - View commit details
-
Copy full SHA for 9204358 - Browse repository at this point
Copy the full SHA 9204358View commit details -
Rollup merge of rust-lang#119712 - madsravn:parsing-errors, r=estebank
Adding alignment to the cases to test for specific error messages. Adding alignment to the list of cases to test for specific error message. Covers `>`, `^` and `<`. Pinging people who chimed in last time ( rust-lang#106805 ): `@estebank` , `@compiler-errors` and `@Nilstrieb`
Configuration menu - View commit details
-
Copy full SHA for 7d5c7d4 - Browse repository at this point
Copy the full SHA 7d5c7d4View commit details -
Rollup merge of rust-lang#119734 - RalfJung:miri, r=RalfJung
Miri subtree update r? `@ghost`
Configuration menu - View commit details
-
Copy full SHA for 201173f - Browse repository at this point
Copy the full SHA 201173fView commit details