-
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 5 pull requests #130401
Rollup of 5 pull requests #130401
Commits on Aug 23, 2024
-
Implement feature
string_from_utf8_lossy_owned
Implement feature for lossily converting from `Vec<u8>` to `String` - Add `String::from_utf8_lossy_owned` - Add `FromUtf8Error::into_utf8_lossy`
Configuration menu - View commit details
-
Copy full SHA for 65abcc2 - Browse repository at this point
Copy the full SHA 65abcc2View commit details
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a888905 - Browse repository at this point
Copy the full SHA a888905View commit details
Commits on Sep 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3b806d3 - Browse repository at this point
Copy the full SHA 3b806d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd3ee92 - Browse repository at this point
Copy the full SHA fd3ee92View commit details
Commits on Sep 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 268f6cf - Browse repository at this point
Copy the full SHA 268f6cfView commit details -
make dist vendoring configurable
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 741b316 - Browse repository at this point
Copy the full SHA 741b316View commit details -
document
dist.vendor
inconfig.example.toml
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 9778f25 - Browse repository at this point
Copy the full SHA 9778f25View commit details -
add change entry for
dist.vendor
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 13542cd - Browse repository at this point
Copy the full SHA 13542cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 339f68b - Browse repository at this point
Copy the full SHA 339f68bView commit details -
Rollup merge of rust-lang#129439 - okaneco:vec_string_lossy, r=Noratrieb
Implement feature `string_from_utf8_lossy_owned` for lossy conversion from `Vec<u8>` to `String` methods Accepted ACP: rust-lang/libs-team#116 Tracking issue: rust-lang#129436 Implement feature for lossily converting from `Vec<u8>` to `String` - Add `String::from_utf8_lossy_owned` - Add `FromUtf8Error::into_utf8_lossy` --- Related to rust-lang#64727, but unsure whether to mark it "fixed" by this PR. That issue partly asks for in-place replacement of the original allocation. We fulfill the other half of that request with these functions. closes rust-lang#64727
Configuration menu - View commit details
-
Copy full SHA for df3cf91 - Browse repository at this point
Copy the full SHA df3cf91View commit details -
Rollup merge of rust-lang#129828 - RalfJung:miri-data-race, r=saethlin
miri: treat non-memory local variables properly for data race detection Fixes rust-lang/miri#3242 Miri has an optimization where some local variables are not represented in memory until something forces them to be stored in memory (most notably, creating a pointer/reference to the local will do that). However, for a subsystem triggering on memory accesses -- such as the data race detector -- this means that the memory access seems to happen only when the local is moved to memory, instead of at the time that it actually happens. This can lead to UB reports in programs that do not actually have UB. This PR fixes that by adding machine hooks for reads and writes to such efficiently represented local variables. The data race system tracks those very similar to how it would track reads and writes to addressable memory, and when a local is moved to memory, the clocks get overwritten with the information stored for the local.
Configuration menu - View commit details
-
Copy full SHA for 6ac598a - Browse repository at this point
Copy the full SHA 6ac598aView commit details -
Rollup merge of rust-lang#130110 - onur-ozkan:configurable-dist-vendo…
…r, r=Kobzol,Mark-Simulacrum make dist vendoring configurable Adds a new option `dist.vendor` which allows people to decide whether to vendor dependencies for their custom distribution tarball builds. Note that our builds will not be affected, as the default for this option is the same as the previous vendoring condition from bootstrap.
Configuration menu - View commit details
-
Copy full SHA for 8ad52dd - Browse repository at this point
Copy the full SHA 8ad52ddView commit details -
Rollup merge of rust-lang#130293 - gurry:130142-lint-level-issue, r=c…
…jgillot Fix lint levels not getting overridden by attrs on `Stmt` nodes Fixes rust-lang#130142. See comments on the issue for context. r? `@cjgillot`
Configuration menu - View commit details
-
Copy full SHA for 18a93ca - Browse repository at this point
Copy the full SHA 18a93caView commit details -
Rollup merge of rust-lang#130342 - RalfJung:slice-idx-overflow, r=sae…
…thlin interpret, miri: fix dealing with overflow during slice indexing and allocation This is mostly to fix rust-lang#130284. I then realized we're using somewhat sketchy arguments for a similar multiplication in `copy`/`copy_nonoverlapping`/`write_bytes`, so I made them all share the same function that checks exactly the right thing. (The intrinsics would previously fail on allocations larger than `1 << 47` bytes... which are theoretically possible maybe? Anyway it seems conceptually wrong to use any other bound than `isize::MAX` here.)
Configuration menu - View commit details
-
Copy full SHA for 96195a5 - Browse repository at this point
Copy the full SHA 96195a5View commit details