Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
92b1081
tidy: skip revision llvm-components check for run-make tests
jieyouxu Aug 26, 2024
beaf9d1
tests/run-make: add missing needs-llvm-components
jieyouxu Aug 26, 2024
2c141a4
Update old comment referring to `libcompiler_builtins`
Zalathar Aug 27, 2024
fcce75e
Use helper functions to read environment variables
Zalathar Aug 27, 2024
b6dba99
Remove `InstrProfilingBiasVar.c` from the list of source files
Zalathar Aug 27, 2024
25ca8a2
Sort the list of source files
Zalathar Aug 27, 2024
842cda6
Always include `WindowsMMap.c` in the list of source files
Zalathar Aug 27, 2024
7f90aa5
Add `cargo::rerun-if-changed` directives for source directories
Zalathar Aug 27, 2024
5b6ff4f
Don't skip nonexistent source files
Zalathar Aug 27, 2024
6ba72c0
skip stage 0 target check if `BOOTSTRAP_SKIP_TARGET_SANITY` is set
onur-ozkan Aug 27, 2024
1a74371
set `BOOTSTRAP_SKIP_TARGET_SANITY` in opt-dist before running tests
onur-ozkan Aug 27, 2024
99558dc
Update the `wasm-component-ld` binary dependency
alexcrichton Aug 29, 2024
355d7c9
couple more crash tests
matthiaskrgr Aug 30, 2024
7fde02e
enable Miri to pass const pointers through FFI
Strophox Jul 31, 2024
8c19c14
Add release notes for 1.81.0
cuviper Aug 2, 2024
dd9fcff
Drop the edition relnote about `!` fallback
cuviper Aug 20, 2024
27873f8
Mention sort perf, and add its panics in compat notes
cuviper Aug 31, 2024
99e14e3
Remove the relnote for rustdoc's *unstable* `--remap-path-prefix`
cuviper Aug 31, 2024
bce176d
tidy: say which feature gate has a stability issue mismatch
RalfJung Aug 31, 2024
e3b1966
make the const-unstable-in-stable error more clear
RalfJung Aug 31, 2024
3cec2d6
don't take reachability into account when warning about missing-const…
RalfJung Aug 31, 2024
670a78b
Fix code examples buttons not appearing on click on mobile
GuillaumeGomez Aug 31, 2024
7d728e5
Update mod.rs
Alcaro Aug 31, 2024
71240e4
Rollup merge of #128523 - cuviper:relnotes-1.81.0, r=Mark-Simulacrum
matthiaskrgr Aug 31, 2024
d354d4d
Rollup merge of #129605 - jieyouxu:needs-llvm-components, r=Mark-Simu…
matthiaskrgr Aug 31, 2024
6a96e7a
Rollup merge of #129650 - Zalathar:profiler-builtins, r=Mark-Simulacrum
matthiaskrgr Aug 31, 2024
e3795af
Rollup merge of #129651 - onur-ozkan:stage0-target-sanity-check, r=Ko…
matthiaskrgr Aug 31, 2024
a5fb8b9
Rollup merge of #129684 - Strophox:miri-pass-pointer-to-ffi, r=RalfJung
matthiaskrgr Aug 31, 2024
0afda15
Rollup merge of #129762 - alexcrichton:update-wasm-component-ld, r=ji…
matthiaskrgr Aug 31, 2024
1e0cc8b
Rollup merge of #129782 - matthiaskrgr:c, r=jieyouxu
matthiaskrgr Aug 31, 2024
08b813b
Rollup merge of #129816 - RalfJung:tidy-feature-issue-mismatch, r=com…
matthiaskrgr Aug 31, 2024
b8b2a65
Rollup merge of #129818 - RalfJung:const-stability, r=compiler-errors
matthiaskrgr Aug 31, 2024
828f7c8
Rollup merge of #129824 - GuillaumeGomez:code-example-buttons-mobile,…
matthiaskrgr Aug 31, 2024
4151fd4
Rollup merge of #129826 - Alcaro:patch-1, r=workingjubilee
matthiaskrgr Aug 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mention sort perf, and add its panics in compat notes
  • Loading branch information
cuviper committed Aug 31, 2024
commit 27873f8052625069c20263862eb7aa92293c3eea
4 changes: 3 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Libraries

- [Split core's `PanicInfo` and std's `PanicInfo`.](https://github.com/rust-lang/rust/pull/115974/) (see compatibility note below)
- [Generalize `{Rc,Arc}::make_mut()` to unsized types.](https://github.com/rust-lang/rust/pull/116113/)
- [Replace sort implementations with stable `driftsort` and unstable `ipnsort`.](https://github.com/rust-lang/rust/pull/124032/) See the [research project](https://github.com/Voultapher/sort-research-rs) for more details.
- [Replace sort implementations with stable `driftsort` and unstable `ipnsort`.](https://github.com/rust-lang/rust/pull/124032/) All `slice::sort*` and `slice::select_nth*` methods are expected to see significant performance improvements. See the [research project](https://github.com/Voultapher/sort-research-rs) for more details.
- [Document behavior of `create_dir_all` with respect to empty paths.](https://github.com/rust-lang/rust/pull/125112/)
- [Fix interleaved output in the default panic hook when multiple threads panic simultaneously.](https://github.com/rust-lang/rust/pull/127397/)

Expand Down Expand Up @@ -106,6 +106,8 @@ Compatibility Notes

The reason is that these types have different roles: `std::panic::PanicHookInfo` is the argument to the [panic hook](https://doc.rust-lang.org/stable/std/panic/fn.set_hook.html) in std context (where panics can have an arbitrary payload), while `core::panic::PanicInfo` is the argument to the [`#[panic_handler]`](https://doc.rust-lang.org/nomicon/panic-handler.html) in no_std context (where panics always carry a formatted *message*). Separating these types allows us to add more useful methods to these types, such as `std::panic::PanicHookInfo::payload_as_str()` and `core::panic::PanicInfo::message()`.

* The new sort implementations may panic if a type's implementation of [`Ord`](https://doc.rust-lang.org/std/cmp/trait.Ord.html) (or the given comparison function) does not implement a [total order](https://en.wikipedia.org/wiki/Total_order) as the trait requires. `Ord`'s supertraits (`PartialOrd`, `Eq`, and `PartialEq`) must also be consistent. The previous implementations would not "notice" any problem, but the new implementations have a good chance of detecting inconsistencies, throwing a panic rather than returning knowingly unsorted data.

<a id="1.81.0-Internal-Changes"></a>

Internal Changes
Expand Down