Skip to content

Commit c6ed092

Browse files
authored
feat: upgrade to rust 1.91 (#708)
* feat: upgrade to rust 1.91 * fix: remove unused parameter causing doc error * feat: enforce rustc version * chore: upodate README with latest runt version
1 parent 549a057 commit c6ed092

File tree

9 files changed

+8
-9
lines changed

9 files changed

+8
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ edition = "2024"
1717
documentation = "https://learn.onpop.io/"
1818
license = "GPL-3.0"
1919
repository = "https://github.com/r0gue-io/pop-cli"
20-
rust-version = "1.90"
20+
rust-version = "1.91"
2121
version = "0.11.0"
2222

2323
[workspace.dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can install Pop CLI from [crates.io](https://crates.io/crates/pop-cli):
2222
cargo install --force --locked pop-cli
2323
```
2424

25-
> :information_source: Pop CLI requires Rust 1.90 or later.
25+
> :information_source: Pop CLI requires Rust 1.91 or later.
2626
2727
You can also install Pop CLI using the [Pop CLI GitHub repo](https://github.com/r0gue-io/pop-cli):
2828

crates/pop-chains/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ edition.workspace = true
77
readme = "README.md"
88
repository.workspace = true
99
version.workspace = true
10+
rust-version.workspace = true
1011

1112
[dependencies]
1213
anyhow.workspace = true

crates/pop-chains/src/try_runtime/shared_parameters.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ pub struct SharedParams {
7474
)]
7575
pub wasmtime_instantiation_strategy: WasmtimeInstantiationStrategy,
7676

77-
/// The number of 64KB pages to allocate for Wasm execution. Defaults to
78-
/// [`sc_service::Configuration.default_heap_pages`].
79-
#[arg(long)]
80-
pub heap_pages: Option<u64>,
81-
8277
/// Path to a file to export the storage proof into (as a JSON).
8378
/// If several blocks are executed, the path is interpreted as a folder
8479
/// where one file per block will be written (named `{block_number}-{block_hash}`).
@@ -99,7 +94,6 @@ impl Default for SharedParams {
9994
disable_spec_name_check: false,
10095
wasm_method: DEFAULT_WASM_EXECUTION_METHOD,
10196
wasmtime_instantiation_strategy: DEFAULT_WASMTIME_INSTANTIATION_STRATEGY,
102-
heap_pages: None,
10397
export_proof: None,
10498
overwrite_state_version: None,
10599
}

crates/pop-cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ documentation.workspace = true
77
license.workspace = true
88
readme = "README.md"
99
repository.workspace = true
10+
rust-version.workspace = true
1011

1112
[lints.clippy]
1213
type_complexity = "allow"

crates/pop-common/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ version.workspace = true
66
edition.workspace = true
77
license.workspace = true
88
repository.workspace = true
9+
rust-version.workspace = true
910

1011
[dependencies]
1112
anyhow.workspace = true

crates/pop-contracts/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ name = "pop-contracts"
77
readme = "README.md"
88
repository.workspace = true
99
version.workspace = true
10+
rust-version.workspace = true
1011

1112
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1213

crates/pop-telemetry/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ edition.workspace = true
66
license.workspace = true
77
repository.workspace = true
88
version.workspace = true
9+
rust-version.workspace = true
910

1011
[dependencies]
1112
dirs = { workspace = true }

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "1.90"
2+
channel = "1.91"
33
components = [
44
"cargo",
55
"clippy",

0 commit comments

Comments
 (0)