From 8a5cf88ec3e5d7306f35b45741616450515301a3 Mon Sep 17 00:00:00 2001 From: ondra05 Date: Wed, 27 Sep 2023 12:33:44 +0200 Subject: [PATCH] Fixed builds under 1.54 --- Cargo.lock | 12 ++++++------ arch-ops/Cargo.toml | 2 +- arch-ops/src/holeybytes/codec.rs | 4 +--- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 16cef99..5e56f7f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -58,9 +58,9 @@ version = "0.1.0" [[package]] name = "delegate" -version = "0.10.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ee5df75c70b95bd3aacc8e2fd098797692fb1d54121019c4de481e42f04c8a1" +checksum = "d358e0ec5c59a5e1603b933def447096886121660fc680dc1e64a0753981fe3c" dependencies = [ "proc-macro2", "quote", @@ -130,18 +130,18 @@ checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.65" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "92de25114670a878b1261c79c9f8f729fb97e95bac93f6312f583c60dd6a1dfe" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.32" +version = "1.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" +checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" dependencies = [ "proc-macro2", ] diff --git a/arch-ops/Cargo.toml b/arch-ops/Cargo.toml index 9e192ec..d384824 100644 --- a/arch-ops/Cargo.toml +++ b/arch-ops/Cargo.toml @@ -10,7 +10,7 @@ license = "BSD-2-Clause-Patent" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -delegate = "0.10" +delegate = "0.9" lazy_static = "1" target-tuples = "0.5.5" paste = "1" diff --git a/arch-ops/src/holeybytes/codec.rs b/arch-ops/src/holeybytes/codec.rs index fac69b2..c5b4ac0 100644 --- a/arch-ops/src/holeybytes/codec.rs +++ b/arch-ops/src/holeybytes/codec.rs @@ -107,8 +107,6 @@ impl HbEncoder { self.write_addr(32, addr, true) }, }; - }?; - - Ok(()) + } } }