You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
56: Ignore whitespace within lines when validating objdump outputs in CI r=therealprof a=austinglaser
Closes#55
Based at #54
If the output of `cargo objdump` changes only with regard to whitespace, it's probably OK to still pass CI. Most readers probably won't even notice whitespace differences in the first place.
The [`diff` documentation](https://www.gnu.org/software/diffutils/manual/html_node/White-Space.html#White-Space) says of whitespace-suppressing options:
> The --ignore-space-change (-b) option is stronger than -E and -Z combined. It ignores white space at line end, and considers all other sequences of one or more white space characters within a line to be equivalent.
This ignores only changes _within_ a line -- changes which span multiple lines (i.e. the addition or removal of whitespace-only lines) will still compare as different. This is a good thing, because there are places the book includes a subset of a file based on line numbers.
Co-authored-by: Austin Glaser <austin@boulderes.com>
0 commit comments