Commit 0d975ec0 authored by Tobias Koppers's avatar Tobias Koppers

verify_serialization2

parent 64432f4f
...@@ -13,7 +13,7 @@ bench = false ...@@ -13,7 +13,7 @@ bench = false
workspace = true workspace = true
[features] [features]
default = ["trace_task_dirty", "verify_immutable", "verify_serialization3"] default = ["trace_task_dirty", "verify_immutable", "verify_serialization2"]
print_cache_item_size = [] print_cache_item_size = []
no_fast_stale = [] no_fast_stale = []
verify_serialization3 = [] verify_serialization3 = []
......
...@@ -759,7 +759,7 @@ where ...@@ -759,7 +759,7 @@ where
fn serialize(task: TaskId, data: &Vec<CachedDataItem>) -> Result<SmallVec<[u8; 16]>> { fn serialize(task: TaskId, data: &Vec<CachedDataItem>) -> Result<SmallVec<[u8; 16]>> {
Ok(match pot_serialize_small_vec(data) { Ok(match pot_serialize_small_vec(data) {
#[cfg(not(feature = "verify_serialization1"))] #[cfg(not(feature = "verify_serialization2"))]
Ok(value) => value, Ok(value) => value,
_ => { _ => {
let mut error = Ok(()); let mut error = Ok(());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment