File tree Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 30
30
test-64bits :
31
31
runs-on : ubuntu-latest
32
32
container :
33
- image : rust:1.70
33
+ image : rust:1.71
34
34
steps :
35
35
- uses : actions/checkout@v3
36
36
- uses : Swatinem/rust-cache@v2
39
39
test-32bits :
40
40
runs-on : ubuntu-latest
41
41
container :
42
- image : rust:1.70
42
+ image : rust:1.71
43
43
steps :
44
44
- run : apt-get update && apt install -y libc6-dev-i386
45
45
- uses : actions/checkout@v3
50
50
wasm-node-check :
51
51
runs-on : ubuntu-latest
52
52
container :
53
- image : rust:1.70
53
+ image : rust:1.71
54
54
steps :
55
55
- uses : actions/checkout@v3
56
56
- uses : Swatinem/rust-cache@v2
65
65
check-features :
66
66
runs-on : ubuntu-latest
67
67
container :
68
- image : rust:1.70
68
+ image : rust:1.71
69
69
steps :
70
70
- uses : actions/checkout@v3
71
71
- uses : Swatinem/rust-cache@v2
@@ -105,7 +105,7 @@ jobs:
105
105
# Since build artifacts are specific to a nightly version, we pin the specific nightly
106
106
# version to use in order to not invalidate the build cache every day. The exact version
107
107
# is completely arbitrary.
108
- toolchain : nightly-2023-04-20
108
+ toolchain : nightly-2023-07-15
109
109
override : true
110
110
- uses : baptiste0928/cargo-install@v2 # This action ensures that the compilation is cached.
111
111
with :
@@ -119,7 +119,7 @@ jobs:
119
119
check-rustdoc-links :
120
120
runs-on : ubuntu-latest
121
121
container :
122
- image : rust:1.70
122
+ image : rust:1.71
123
123
steps :
124
124
- uses : actions/checkout@v3
125
125
- uses : Swatinem/rust-cache@v2
Original file line number Diff line number Diff line change 56
56
build-js-doc :
57
57
runs-on : ubuntu-latest
58
58
container :
59
- image : rust:1.70
59
+ image : rust:1.71
60
60
steps :
61
61
- uses : actions/checkout@v3
62
62
with :
82
82
build-rust-doc :
83
83
runs-on : ubuntu-latest
84
84
container :
85
- image : rust:1.70
85
+ image : rust:1.71
86
86
steps :
87
87
- uses : actions/checkout@v3
88
88
with :
@@ -103,7 +103,7 @@ jobs:
103
103
build-tests-coverage :
104
104
runs-on : ubuntu-latest
105
105
container :
106
- image : rust:1.70
106
+ image : rust:1.71
107
107
steps :
108
108
- run : apt update && apt install -y jq
109
109
- run : rustup component add llvm-tools-preview
@@ -173,7 +173,7 @@ jobs:
173
173
npm-publish :
174
174
runs-on : ubuntu-latest
175
175
container :
176
- image : rust:1.70
176
+ image : rust:1.71
177
177
steps :
178
178
- uses : actions/checkout@v3
179
179
Original file line number Diff line number Diff line change 9
9
cargo-update :
10
10
runs-on : ubuntu-latest
11
11
container :
12
- image : rust:1.70
12
+ image : rust:1.71
13
13
steps :
14
14
- uses : actions/checkout@v3
15
15
# Note: `cargo update --workspace` doesn't seem to have any effect.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ repository = "https://github.com/smol-dot/smoldot"
16
16
include = [" **/*.rs" ] # Only Rust files are included, as anything else might be a test fixture.
17
17
18
18
[profile .dev ]
19
- debug = 1 # Default value is `2`, which contains the full debug info. `1` is enough for stack traces. # TODO: use the named version after Cargo v1.71
19
+ debug = " limited "
20
20
opt-level = 2
21
21
panic = " abort"
22
22
[profile .dev .package ."*" ]
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ impl<TPlat: PlatformRef> RuntimeService<TPlat> {
227
227
}
228
228
}
229
229
} ;
230
- let mut guarded_lock = & mut * guarded_lock;
230
+ let guarded_lock = & mut * guarded_lock;
231
231
232
232
// Extract the components of the `FinalizedBlockRuntimeKnown`. We are guaranteed by the
233
233
// block above to be in this state.
@@ -1413,7 +1413,7 @@ async fn run_background<TPlat: PlatformRef>(
1413
1413
let near_head_of_chain = background. sync_service. is_near_head_of_chain_heuristic( ) . await ;
1414
1414
1415
1415
let mut guarded = background. guarded. lock( ) . await ;
1416
- let mut guarded = & mut * guarded;
1416
+ let guarded = & mut * guarded;
1417
1417
// TODO: note that this code is never reached for parachains
1418
1418
if new_block. is_new_best {
1419
1419
guarded. best_near_head_of_chain = near_head_of_chain;
@@ -1466,7 +1466,7 @@ async fn run_background<TPlat: PlatformRef>(
1466
1466
let near_head_of_chain = background. sync_service. is_near_head_of_chain_heuristic( ) . await ;
1467
1467
1468
1468
let mut guarded = background. guarded. lock( ) . await ;
1469
- let mut guarded = & mut * guarded;
1469
+ let guarded = & mut * guarded;
1470
1470
guarded. best_near_head_of_chain = near_head_of_chain;
1471
1471
1472
1472
match & mut guarded. tree {
Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ impl<TPlat: PlatformRef> ParachainBackgroundTask<TPlat> {
675
675
676
676
/// Start fetching parachain headers of new blocks whose parachain block needs to be fetched.
677
677
fn start_paraheads_fetch ( & mut self ) {
678
- let mut runtime_subscription = match & mut self . subscription_state {
678
+ let runtime_subscription = match & mut self . subscription_state {
679
679
ParachainBackgroundState :: NotSubscribed { .. } => return ,
680
680
ParachainBackgroundState :: Subscribed ( s) => s,
681
681
} ;
Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ async fn background_task<TPlat: PlatformRef>(mut config: BackgroundTaskConfig<TP
673
673
// A block body download has finished, successfully or not.
674
674
let ( block_hash, block_body) = download;
675
675
676
- let mut block = match worker. pending_transactions. block_user_data_mut( & block_hash) {
676
+ let block = match worker. pending_transactions. block_user_data_mut( & block_hash) {
677
677
Some ( b) => b,
678
678
None => {
679
679
// It is possible that this block has been discarded because a sibling
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ if (buildProfile != 'debug' && buildProfile != 'min-size-release')
38
38
// The Rust version is pinned because the wasi target is still unstable. Without pinning, it is
39
39
// possible for the wasm-js bindings to change between two Rust versions. Feel free to update
40
40
// this version pin whenever you like, provided it continues to build.
41
- const rustVersion = '1.70 .0' ;
41
+ const rustVersion = '1.71 .0' ;
42
42
43
43
// Assume that the user has `rustup` installed and make sure that `rust_version` is available.
44
44
// Because `rustup install` requires an Internet connection, check whether the toolchain is
You can’t perform that action at this time.
0 commit comments