On Sun, Jan 14, 2018, at 1:36 AM, Anthony Ramine wrote: > I would much rather prefer if we just checked that we didn't use the > Debug impls of large types. We could also just not derive them in > release mode. > > In the PR you link, AFAICT you also removed some uses that were just > very small enums or even integers, which may not be necessary.
Small enums may still cost extra string, I suppose, and integers should probably just use Display. I wonder whether it is possible to have a switch to turn off all Debug impl on release mode altogether... - Xidorn _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo