Skip to content

Commit

Permalink
Fixed build for old crdt code
Browse files Browse the repository at this point in the history
  • Loading branch information
josephg committed Aug 7, 2024
1 parent 2fddbf4 commit 19721f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions crates/diamond-core-old/src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ pub fn get_thread_memory_usage() -> isize {
})
}

#[cfg(any(test, feature = "memusage"))]
mod trace_alloc {
use super::TracingAlloc;

#[global_allocator]
static A: TracingAlloc = TracingAlloc;
}
// #[cfg(any(test, feature = "memusage"))]
// mod trace_alloc {
// use super::TracingAlloc;
//
// #[global_allocator]
// static A: TracingAlloc = TracingAlloc;
// }
2 changes: 1 addition & 1 deletion crates/diamond-types-crdt/src/list/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::rle::{KVPair, RleVec};

mod span;
mod doc;
mod markers;
// mod markers;
mod txn;
mod double_delete;
pub mod external_txn;
Expand Down

0 comments on commit 19721f5

Please sign in to comment.