(Try to) disable LTO ?

This commit is contained in:
Alex 2020-04-10 22:55:01 +02:00
parent a50f07dfdc
commit ff4fb97568
2 changed files with 8 additions and 0 deletions

View File

@ -29,3 +29,6 @@ sha2 = "0.8"
async-trait = "0.1.30"
reduce = "0.1.2"
serde_json = "1.0"
[profile.dev]
lto = "off"

View File

@ -104,6 +104,11 @@ impl PartitionKey for Hash {
self.clone()
}
}
impl SortKey for Hash {
fn sort_key(&self) -> &[u8] {
self.as_slice()
}
}
#[async_trait]
pub trait TableFormat: Send + Sync {