Make codec shape authority compile-time and fixed

This commit is contained in:
ms2k 2026-07-19 04:33:43 +09:00
commit 54cc167f81

View file

@ -169,7 +169,7 @@ impl Drop for CancellationSignals {
fn read_record<T>(path: &std::path::Path) -> Result<T, Box<dyn std::error::Error>>
where
T: serde::de::DeserializeOwned + serde::Serialize,
T: lazaret_core::records::SchemaType + serde::de::DeserializeOwned + serde::Serialize,
{
let mut file = std::fs::File::from(rustix::fs::openat(
rustix::fs::CWD,