mime_guess
mime_guess copied to clipboard
Reliance on debug output
This library seems to rely on the debug output of Vecs. It's not advised to rely on that and compiling with -Zfmt-debug=none breaks table generation and calls to UniCase.
https://github.com/abonander/mime_guess/blob/d019881531d3a1aa7060e633e0ff70981f43df74/build.rs#L129-L133
How to recreate:
-
RUSTFLAGS="-Zfmt-debug=none" cargo +nightly build - get flooded with 44MiB of garbled errors.