Skip to content

Commit 100ea2b

Browse files
committed
Merge from rustc
2 parents ea56007 + 3706e6f commit 100ea2b

File tree

756 files changed

+6632
-4335
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

756 files changed

+6632
-4335
lines changed

.github/workflows/ci.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ name: CI
2121
- auto
2222
- try
2323
- try-perf
24+
- automation/bors/try
25+
- automation/bors/try-merge
2426
- master
2527
pull_request:
2628
branches:
@@ -264,9 +266,6 @@ jobs:
264266
- name: test-various
265267
os: ubuntu-20.04-8core-32gb
266268
env: {}
267-
- name: wasm32
268-
os: ubuntu-20.04-8core-32gb
269-
env: {}
270269
- name: x86_64-gnu
271270
os: ubuntu-20.04-4core-16gb
272271
env: {}
@@ -542,7 +541,7 @@ jobs:
542541
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
543542
AWS_REGION: us-west-1
544543
CACHE_DOMAIN: ci-caches.rust-lang.org
545-
if: "github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
544+
if: "github.event_name == 'push' && (((github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust') || ((github.ref == 'refs/heads/automation/bors/try') && github.repository == 'rust-lang/rust'))"
546545
strategy:
547546
matrix:
548547
include:

.reuse/dep5

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Files: compiler/*
2525
README.md
2626
RELEASES.md
2727
rustfmt.toml
28+
rust-bors.toml
2829
triagebot.toml
2930
x
3031
x.ps1

Cargo.lock

+3-2
Original file line numberDiff line numberDiff line change
@@ -2009,9 +2009,9 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
20092009

20102010
[[package]]
20112011
name = "jemalloc-sys"
2012-
version = "0.5.3+5.3.0-patched"
2012+
version = "0.5.4+5.3.0-patched"
20132013
source = "registry+https://github.com/rust-lang/crates.io-index"
2014-
checksum = "f9bd5d616ea7ed58b571b2e209a65759664d7fb021a0819d7a790afc67e47ca1"
2014+
checksum = "ac6c1946e1cea1788cbfde01c993b52a10e2da07f4bac608228d1bed20bfebf2"
20152015
dependencies = [
20162016
"cc",
20172017
"libc",
@@ -4473,6 +4473,7 @@ dependencies = [
44734473
"rustc_data_structures",
44744474
"rustc_feature",
44754475
"rustc_fs_util",
4476+
"rustc_index",
44764477
"rustc_macros",
44774478
"rustc_serialize",
44784479
"rustc_span",

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ See [the rustc-dev-guide for more info][sysllvm].
116116
#### Configure and Make
117117

118118
This project provides a configure script and makefile (the latter of which just
119-
invokes `x.py`). `./configure` is the recommended way to programatically
119+
invokes `x.py`). `./configure` is the recommended way to programmatically
120120
generate a `config.toml`. `make` is not recommended (we suggest using `x.py`
121121
directly), but it is supported and we try not to break it unnecessarily.
122122

RELEASES.md

+117
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,120 @@
1+
Version 1.73.0 (2023-10-05)
2+
==========================
3+
4+
<a id="1.73.0-Language"></a>
5+
6+
Language
7+
--------
8+
9+
- [Uplift `clippy::fn_null_check` lint as `useless_ptr_null_checks`.](https://github.com/rust-lang/rust/pull/111717/)
10+
- [Make `noop_method_call` warn by default.](https://github.com/rust-lang/rust/pull/111916/)
11+
- [Support interpolated block for `try` and `async` in macros.](https://github.com/rust-lang/rust/pull/112953/)
12+
- [Make `unconditional_recursion` lint detect recursive drops.](https://github.com/rust-lang/rust/pull/113902/)
13+
- [Future compatibility warning for some impls being incorrectly considered not overlapping.](https://github.com/rust-lang/rust/pull/114023/)
14+
- [The `invalid_reference_casting` lint is now **deny-by-default** (instead of allow-by-default)](https://github.com/rust-lang/rust/pull/112431)
15+
16+
<a id="1.73.0-Compiler"></a>
17+
18+
Compiler
19+
--------
20+
21+
- [Write version information in a `.comment` section like GCC/Clang.](https://github.com/rust-lang/rust/pull/97550/)
22+
- [Add documentation on v0 symbol mangling.](https://github.com/rust-lang/rust/pull/97571/)
23+
- [Stabilize `extern "thiscall"` and `"thiscall-unwind"` ABIs.](https://github.com/rust-lang/rust/pull/114562/)
24+
- [Only check outlives goals on impl compared to trait.](https://github.com/rust-lang/rust/pull/109356/)
25+
- [Infer type in irrefutable slice patterns with fixed length as array.](https://github.com/rust-lang/rust/pull/113199/)
26+
- [Discard default auto trait impls if explicit ones exist.](https://github.com/rust-lang/rust/pull/113312/)
27+
- Add several new tier 3 targets:
28+
- [`aarch64-unknown-teeos`](https://github.com/rust-lang/rust/pull/113480/)
29+
- [`csky-unknown-linux-gnuabiv2`](https://github.com/rust-lang/rust/pull/113658/)
30+
- [`riscv64-linux-android`](https://github.com/rust-lang/rust/pull/112858/)
31+
- [`riscv64gc-unknown-hermit`](https://github.com/rust-lang/rust/pull/114004/)
32+
- [`x86_64-unikraft-linux-musl`](https://github.com/rust-lang/rust/pull/113411/)
33+
- [`x86_64-unknown-linux-ohos`](https://github.com/rust-lang/rust/pull/113061/)
34+
- [Add `wasm32-wasi-preview1-threads` as a tier 2 target.](https://github.com/rust-lang/rust/pull/112922/)
35+
36+
Refer to Rust's [platform support page][platform-support-doc]
37+
for more information on Rust's tiered platform support.
38+
39+
<a id="1.73.0-Libraries"></a>
40+
41+
Libraries
42+
---------
43+
44+
- [Add `Read`, `Write` and `Seek` impls for `Arc<File>`.](https://github.com/rust-lang/rust/pull/94748/)
45+
- [Merge functionality of `io::Sink` into `io::Empty`.](https://github.com/rust-lang/rust/pull/98154/)
46+
- [Implement `RefUnwindSafe` for `Backtrace`](https://github.com/rust-lang/rust/pull/100455/)
47+
- [Make `ExitStatus` implement `Default`](https://github.com/rust-lang/rust/pull/106425/)
48+
- [`impl SliceIndex<str> for (Bound<usize>, Bound<usize>)`](https://github.com/rust-lang/rust/pull/111081/)
49+
- [Change default panic handler message format.](https://github.com/rust-lang/rust/pull/112849/)
50+
- [Cleaner `assert_eq!` & `assert_ne!` panic messages.](https://github.com/rust-lang/rust/pull/111071/)
51+
- [Correct the (deprecated) Android `stat` struct definitions.](https://github.com/rust-lang/rust/pull/113130/)
52+
53+
<a id="1.73.0-Stabilized-APIs"></a>
54+
55+
Stabilized APIs
56+
---------------
57+
58+
- [Unsigned `{integer}::div_ceil`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.div_ceil)
59+
- [Unsigned `{integer}::next_multiple_of`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.next_multiple_of)
60+
- [Unsigned `{integer}::checked_next_multiple_of`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.checked_next_multiple_of)
61+
- [`std::ffi::FromBytesUntilNulError`](https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesUntilNulError.html)
62+
- [`std::os::unix::fs::chown`](https://doc.rust-lang.org/stable/std/os/unix/fs/fn.chown.html)
63+
- [`std::os::unix::fs::fchown`](https://doc.rust-lang.org/stable/std/os/unix/fs/fn.fchown.html)
64+
- [`std::os::unix::fs::lchown`](https://doc.rust-lang.org/stable/std/os/unix/fs/fn.lchown.html)
65+
- [`LocalKey::<Cell<T>>::get`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.get)
66+
- [`LocalKey::<Cell<T>>::set`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set)
67+
- [`LocalKey::<Cell<T>>::take`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take)
68+
- [`LocalKey::<Cell<T>>::replace`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace)
69+
- [`LocalKey::<RefCell<T>>::with_borrow`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow)
70+
- [`LocalKey::<RefCell<T>>::with_borrow_mut`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow_mut)
71+
- [`LocalKey::<RefCell<T>>::set`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set-1)
72+
- [`LocalKey::<RefCell<T>>::take`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take-1)
73+
- [`LocalKey::<RefCell<T>>::replace`](https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace-1)
74+
75+
These APIs are now stable in const contexts:
76+
77+
- [`rc::Weak::new`](https://doc.rust-lang.org/stable/alloc/rc/struct.Weak.html#method.new)
78+
- [`sync::Weak::new`](https://doc.rust-lang.org/stable/alloc/sync/struct.Weak.html#method.new)
79+
- [`NonNull::as_ref`](https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.as_ref)
80+
81+
<a id="1.73.0-Cargo"></a>
82+
83+
Cargo
84+
-----
85+
86+
- [Encode URL params correctly for `SourceId` in `Cargo.lock`.](https://github.com/rust-lang/cargo/pull/12280/)
87+
- [Bail out an error when using `cargo::` in custom build script.](https://github.com/rust-lang/cargo/pull/12332/)
88+
89+
<a id="1.73.0-Misc"></a>
90+
91+
Misc
92+
----
93+
94+
<a id="1.73.0-Compatibility-Notes"></a>
95+
96+
Compatibility Notes
97+
-------------------
98+
99+
- [Update the minimum external LLVM to 15.](https://github.com/rust-lang/rust/pull/114148/)
100+
- [Check for non-defining uses of return position `impl Trait`.](https://github.com/rust-lang/rust/pull/112842/)
101+
102+
<a id="1.73.0-Internal-Changes"></a>
103+
104+
Internal Changes
105+
----------------
106+
107+
These changes do not affect any public interfaces of Rust, but they represent
108+
significant improvements to the performance or internals of rustc and related
109+
tools.
110+
111+
- [Remove LLVM pointee types, supporting only opaque pointers.](https://github.com/rust-lang/rust/pull/105545/)
112+
- [Port PGO/LTO/BOLT optimized build pipeline to Rust.](https://github.com/rust-lang/rust/pull/112235/)
113+
- [Replace in-tree `rustc_apfloat` with the new version of the crate.](https://github.com/rust-lang/rust/pull/113843/)
114+
- [Update to LLVM 17.](https://github.com/rust-lang/rust/pull/114048/)
115+
- [Add `internal_features` lint for internal unstable features.](https://github.com/rust-lang/rust/pull/108955/)
116+
- [Mention style for new syntax in tracking issue template.](https://github.com/rust-lang/rust/pull/113586/)
117+
1118
Version 1.72.1 (2023-09-19)
2119
===========================
3120

compiler/rustc_abi/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ rustc_serialize = { path = "../rustc_serialize", optional = true }
1515

1616
[features]
1717
default = ["nightly", "randomize"]
18-
randomize = ["rand", "rand_xoshiro"]
18+
randomize = ["rand", "rand_xoshiro", "nightly"]
19+
# rust-analyzer depends on this crate and we therefore require it to built on a stable toolchain
20+
# without depending on rustc_data_structures, rustc_macros and rustc_serialize
1921
nightly = [
2022
"rustc_data_structures",
2123
"rustc_index/nightly",

0 commit comments

Comments
 (0)