1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-11-30 02:30:46 +01:00

feature gate write support, use hash to compare game event definitions

This commit is contained in:
Robin Appelman 2025-07-14 16:05:30 +02:00
commit fbaca025b6
32 changed files with 6168 additions and 4363 deletions

View file

@ -20,7 +20,7 @@ pub(crate) mod consthash;
pub mod demo;
pub(crate) mod nullhasher;
#[cfg(test)]
#[cfg(all(test, feature = "write"))]
#[track_caller]
fn test_roundtrip_write<
'a,
@ -54,7 +54,7 @@ fn test_roundtrip_write<
);
}
#[cfg(test)]
#[cfg(all(test, feature = "write"))]
#[track_caller]
fn test_roundtrip_encode<
'a,