From b5611445eb24a98e6e108f55c2870e9f45f67f5b Mon Sep 17 00:00:00 2001 From: Tpt Date: Tue, 15 Mar 2022 19:21:40 +0100 Subject: [PATCH] Fixes ARM compilation --- lib/src/storage/backend/rocksdb.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/src/storage/backend/rocksdb.rs b/lib/src/storage/backend/rocksdb.rs index db5a2661..5015db0b 100644 --- a/lib/src/storage/backend/rocksdb.rs +++ b/lib/src/storage/backend/rocksdb.rs @@ -1,8 +1,6 @@ //! Code inspired by [Rust RocksDB](https://github.com/rust-rocksdb/rust-rocksdb) under Apache License 2.0. -//! -//! TODO: still has some memory leaks if the database opening fails -#![allow(unsafe_code)] +#![allow(unsafe_code, trivial_casts)] use crate::storage::error::StorageError; use crate::store::CorruptionError;