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:
parent
6ef2b1cea8
commit
fbaca025b6
32 changed files with 6168 additions and 4363 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue