google / wuffs

Wrangling Untrusted File Formats Safely
Other
4.06k stars 129 forks source link

Fix Rust GIF benchmark #68

Closed MichaelMcDonnell closed 2 years ago

MichaelMcDonnell commented 2 years ago

The Rust GIF benchmark no longer compiles. The Cargo.toml file uses a star to specify the gif crate version. That means a clean compile will use the latest version even if it has breaking changes. Version 0.11 has breaking changes which means the benchmark can no longer be compiled from a clean start.

I fixed the benchmark by pinning the version to 0.11 and updating the code to use the new API.

nigeltao commented 2 years ago

Thanks!