Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Fix for srtool issue with unstable build #150

Merged
merged 1 commit into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions precompiles/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ pallet-evm = { workspace = true }
# Polkadot / XCM
xcm = { workspace = true }

assert_matches = { workspace = true }

[dev-dependencies]
hex-literal = { workspace = true }

Expand Down
1 change: 0 additions & 1 deletion precompiles/utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
// along with Utils. If not, see <http://www.gnu.org/licenses/>.

#![cfg_attr(not(feature = "std"), no_std)]
#![feature(assert_matches)]

extern crate alloc;

Expand Down
2 changes: 1 addition & 1 deletion precompiles/utils/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// You should have received a copy of the GNU General Public License
// along with Utils. If not, see <http://www.gnu.org/licenses/>.
use super::*;
use core::assert_matches::assert_matches;
use assert_matches::assert_matches;
use fp_evm::{
ExitReason, ExitSucceed, PrecompileOutput, PrecompileResult, PrecompileSet, Transfer,
};
Expand Down