Fixing a panic in copy_from_slice

pmeunier
Sep 15, 2021, 11:00 AM
FOFMWK53746RHCIMNP4G7NBJ3Z2PEI4A2XP5ZEEJOIRQNNEEL2FQC

Dependencies

  • [2] MHZGMWJE Reorganising the files
  • [3] N625OONS Version bump
  • [4] 53LCNWY2 Fixing compilation errors on Windows
  • [5] IH334Q5A Reboot
  • [6] NOSZA4ZM Fixing tests
  • [7] GXWDF2M2 Debugging (including moving to xxhash-rust instead of twox-hash)
  • [8] TKSHSYFM Using pkg-config to find the libraries (+ some cleanup)
  • [9] UPRY2FEL Remove bindgen dependency
  • [10] HELRYMZK Manual bindings (Windows and Clang aren't very good friends), and getting rid of anyhow

Change contents

  • replacement in "src/compress/framelog.rs" at line 80
    [2.25617][2.25617:25699]()
    output[*pos..*pos + len_write].copy_from_slice(&value.to_ne_bytes());
    [2.25617]
    [2.25699]
    let bytes = value.to_le_bytes();
    output[*pos..*pos + len_write].copy_from_slice(&bytes[..len_write]);
  • replacement in "Cargo.toml" at line 4
    [4.269755][3.0:18]()
    version = "0.2.0"
    [4.269755]
    [3.18]
    version = "0.2.1"
  • replacement in "Cargo.lock" at line 134
    [4.10508][3.220:238]()
    version = "0.2.0"
    [4.10508]
    [4.10526]
    version = "0.2.1"