Skip to content

Commit

Permalink
update toolchain (#999)
Browse files Browse the repository at this point in the history
* update toolchain

* fix
  • Loading branch information
xlc committed May 8, 2024
1 parent 9af1fa5 commit 39cff24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion authority/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ mod helper {
use std::cell::RefCell;

thread_local! {
static NESTED_MAX_ENCODED_LEN: RefCell<bool> = RefCell::new(false);
static NESTED_MAX_ENCODED_LEN: RefCell<bool> = const {
RefCell::new(false)
};
}

pub fn set_nested_max_encoded_len(val: bool) {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.75.0"
channel = "1.77.0"
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]

0 comments on commit 39cff24

Please sign in to comment.