Skip to content

Commit

Permalink
disable rocksdb storage in wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jul 14, 2024
1 parent c6fa247 commit 90d8a54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,11 @@ pub struct MemStorage {
sigs: Arc<RwLock<HashMap<String, SigStore>>>,
}

#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
#[cfg(feature = "branchwater")]
pub mod rocksdb;

#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
#[cfg(feature = "branchwater")]
pub use rocksdb::RocksDBStorage;

Check failure on line 149 in src/core/src/storage/mod.rs

View workflow job for this annotation

GitHub Actions / minimum_rust_version

`rocksdb` is ambiguous

Expand Down

0 comments on commit 90d8a54

Please sign in to comment.