Skip to content

Commit 5c13b3e

Browse files
authored
Update Rust version to v1.92 (#2209)
* Update Rust version 1.92 * Fix doclinks
1 parent 2cc1dba commit 5c13b3e

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
test-64bits:
3131
runs-on: ubuntu-latest
3232
container:
33-
image: rust:1.89
33+
image: rust:1.92
3434
steps:
3535
- uses: actions/checkout@v4
3636
- uses: Swatinem/rust-cache@v2
@@ -39,7 +39,7 @@ jobs:
3939
test-32bits:
4040
runs-on: ubuntu-latest
4141
container:
42-
image: rust:1.89
42+
image: rust:1.92
4343
steps:
4444
- run: apt-get update && apt install -y libc6-dev-i386
4545
- uses: actions/checkout@v4
@@ -50,7 +50,7 @@ jobs:
5050
wasm-node-check:
5151
runs-on: ubuntu-latest
5252
container:
53-
image: rust:1.89
53+
image: rust:1.92
5454
steps:
5555
- uses: actions/checkout@v4
5656
- run: rustup target add wasm32-unknown-unknown
@@ -67,7 +67,7 @@ jobs:
6767
check-features:
6868
runs-on: ubuntu-latest
6969
container:
70-
image: rust:1.89
70+
image: rust:1.92
7171
steps:
7272
- uses: actions/checkout@v4
7373
- uses: Swatinem/rust-cache@v2
@@ -101,7 +101,7 @@ jobs:
101101
check-no-std:
102102
runs-on: ubuntu-latest
103103
container:
104-
image: rust:1.89
104+
image: rust:1.92
105105
steps:
106106
- uses: actions/checkout@v4
107107
- run: rustup target add thumbv7m-none-eabi
@@ -113,7 +113,7 @@ jobs:
113113
check-rustdoc-links:
114114
runs-on: ubuntu-latest
115115
container:
116-
image: rust:1.89
116+
image: rust:1.92
117117
steps:
118118
- uses: actions/checkout@v4
119119
- uses: Swatinem/rust-cache@v2
@@ -122,7 +122,7 @@ jobs:
122122
fmt:
123123
runs-on: ubuntu-latest
124124
container:
125-
image: rust:1.89
125+
image: rust:1.92
126126
steps:
127127
# Checks `rustfmt` formatting
128128
- uses: actions/checkout@v4
@@ -136,7 +136,7 @@ jobs:
136136
clippy:
137137
runs-on: ubuntu-latest
138138
container:
139-
image: rust:1.89
139+
image: rust:1.92
140140
steps:
141141
- uses: actions/checkout@v4
142142
# Since build artifacts are specific to a nightly version, we pin the specific nightly
@@ -177,7 +177,7 @@ jobs:
177177
wasm-node-versions-match:
178178
runs-on: ubuntu-latest
179179
container:
180-
image: rust:1.89
180+
image: rust:1.92
181181
steps:
182182
- uses: actions/checkout@v4
183183
- run: apt-get update && apt install -y jq

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
build-js-doc:
5757
runs-on: ubuntu-latest
5858
container:
59-
image: rust:1.89
59+
image: rust:1.92
6060
steps:
6161
- uses: actions/checkout@v4
6262
with:
@@ -83,7 +83,7 @@ jobs:
8383
build-rust-doc:
8484
runs-on: ubuntu-latest
8585
container:
86-
image: rust:1.89
86+
image: rust:1.92
8787
steps:
8888
- uses: actions/checkout@v4
8989
with:
@@ -104,7 +104,7 @@ jobs:
104104
build-tests-coverage:
105105
runs-on: ubuntu-latest
106106
container:
107-
image: rust:1.89
107+
image: rust:1.92
108108
steps:
109109
- run: apt update && apt install -y jq
110110
- run: rustup component add llvm-tools-preview
@@ -174,7 +174,7 @@ jobs:
174174
npm-publish:
175175
runs-on: ubuntu-latest
176176
container:
177-
image: rust:1.89
177+
image: rust:1.92
178178
steps:
179179
- uses: actions/checkout@v4
180180
- run: rustup target add wasm32-unknown-unknown
@@ -245,7 +245,7 @@ jobs:
245245
crates-io-publish:
246246
runs-on: ubuntu-latest
247247
container:
248-
image: rust:1.89
248+
image: rust:1.92
249249
steps:
250250
- uses: actions/checkout@v4
251251
- run: cargo publish --dry-run --locked

.github/workflows/periodic-cargo-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
cargo-update:
1010
runs-on: ubuntu-latest
1111
container:
12-
image: rust:1.89
12+
image: rust:1.92
1313
steps:
1414
- uses: actions/checkout@v4
1515
# Note: `cargo update --workspace` doesn't seem to have any effect.

lib/src/chain/fork_tree.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,9 @@ pub struct PrunedNode<T> {
684684
pub struct NodeIndex(usize);
685685

686686
impl NodeIndex {
687-
/// Value that compares inferior or equal to any possible [`NodeIndex`̀].
687+
/// Value that compares inferior or equal to any possible [`NodeIndex`].
688688
pub const MIN: Self = NodeIndex(usize::MIN);
689-
/// Returns the value that compares superior or equal to any possible [`NodeIndex`̀].
689+
/// Returns the value that compares superior or equal to any possible [`NodeIndex`].
690690
pub const MAX: Self = NodeIndex(usize::MAX);
691691

692692
/// Adds `1` to `self`. Returns `None` if this causes an overflow.

lib/src/executor/host.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,7 +2356,7 @@ pub struct ExternalStorageGet {
23562356
inner: Box<Inner>,
23572357

23582358
/// Function currently being called by the Wasm code. Refers to an index within
2359-
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`̀].
2359+
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`].
23602360
calling: usize,
23612361

23622362
/// Used only for the `ext_storage_read_version_1` function. Stores the pointer where the
@@ -2757,7 +2757,7 @@ impl fmt::Debug for ExternalStorageAppend {
27572757
pub struct ExternalStorageClearPrefix {
27582758
inner: Box<Inner>,
27592759
/// Function currently being called by the Wasm code. Refers to an index within
2760-
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`̀].
2760+
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`].
27612761
calling: usize,
27622762

27632763
/// Pointer and size to the prefix. `None` if `&[]`. Guaranteed to be in range.
@@ -2870,7 +2870,7 @@ pub struct ExternalStorageRoot {
28702870
inner: Box<Inner>,
28712871

28722872
/// Function currently being called by the Wasm code. Refers to an index within
2873-
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`̀].
2873+
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`].
28742874
calling: usize,
28752875

28762876
/// Pointer and size of the child trie, if any. Guaranteed to be in range.
@@ -3387,7 +3387,7 @@ pub struct ExternalOffchainStorageGet {
33873387
inner: Box<Inner>,
33883388

33893389
/// Function currently being called by the Wasm code. Refers to an index within
3390-
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`̀].
3390+
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`].
33913391
calling: usize,
33923392

33933393
/// Pointer to the key whose value must be loaded. Guaranteed to be in range.
@@ -3461,7 +3461,7 @@ pub struct OffchainRandomSeed {
34613461
inner: Box<Inner>,
34623462

34633463
/// Function currently being called by the Wasm code. Refers to an index within
3464-
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`̀].
3464+
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`].
34653465
calling: usize,
34663466
}
34673467

@@ -3488,7 +3488,7 @@ pub struct OffchainSubmitTransaction {
34883488
inner: Box<Inner>,
34893489

34903490
/// Function currently being called by the Wasm code. Refers to an index within
3491-
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`̀].
3491+
/// [`VmCommon::registered_functions`]. Guaranteed to be [`FunctionImport::Resolved`].
34923492
calling: usize,
34933493

34943494
/// Pointer to the transaction whose value must be set. Guaranteed to be in range.

lib/src/libp2p.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
//! - A list of events that happen on the set of peer-to-peer connections, and that can be
7474
//! retrieved one by one by calling [`collection::Network::next_event`].
7575
//!
76-
//! It is the responsibility of the API user to grab the list of unfulfilled [`̀PeerId`]s and
76+
//! It is the responsibility of the API user to grab the list of unfulfilled [`PeerId`]s and
7777
//! insert new connections that are expected to reach these unfulfilled [`PeerId`]s. To do so,
7878
//! one must run a certain discovery mechanism in order to find out the addresses that will
7979
//! permit to reach peers. This is out of scope of this module.

lib/src/libp2p/collection.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ pub struct Config {
146146
pub struct ConnectionId(u64);
147147

148148
impl ConnectionId {
149-
/// Value that compares inferior or equal to any possible [`ConnectionId`̀].
149+
/// Value that compares inferior or equal to any possible [`ConnectionId`].
150150
pub const MIN: Self = ConnectionId(u64::MIN);
151-
/// Value that compares superior or equal to any possible [`ConnectionId`̀].
151+
/// Value that compares superior or equal to any possible [`ConnectionId`].
152152
pub const MAX: Self = ConnectionId(u64::MAX);
153153
}
154154

@@ -159,9 +159,9 @@ impl ConnectionId {
159159
pub struct SubstreamId(u64);
160160

161161
impl SubstreamId {
162-
/// Value that compares inferior or equal to any possible [`SubstreamId`̀].
162+
/// Value that compares inferior or equal to any possible [`SubstreamId`].
163163
pub const MIN: Self = SubstreamId(u64::MIN);
164-
/// Value that compares superior or equal to any possible [`SubstreamId`̀].
164+
/// Value that compares superior or equal to any possible [`SubstreamId`].
165165
pub const MAX: Self = SubstreamId(u64::MAX);
166166
}
167167

lib/src/network/service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4495,7 +4495,7 @@ impl From<StartRequestError> for StartRequestMaybeTooLargeError {
44954495

44964496
/// Response to an outgoing request.
44974497
///
4498-
/// See [`Event::RequestResult`̀].
4498+
/// See [`Event::RequestResult`].
44994499
#[derive(Debug)]
45004500
pub enum RequestResult {
45014501
Blocks(Result<Vec<codec::BlockData>, BlocksRequestError>),

light-base/src/sync_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ impl<TPlat: PlatformRef> SyncService<TPlat> {
183183
}
184184
}
185185

186-
/// Returns the value initially passed as [`Config::block_number_bytes`̀].
186+
/// Returns the value initially passed as [`Config::block_number_bytes`].
187187
pub fn block_number_bytes(&self) -> usize {
188188
self.block_number_bytes
189189
}

0 commit comments

Comments
 (0)