about summary refs log tree commit diff
path: root/library/std/src/sys/windows/stack_overflow_uwp.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-06-25 11:56:15 +0100
committerDavid Wood <david@davidtw.co>2020-06-25 11:56:15 +0100
commit11a3584de4084deabe23354cb387984d6664a4a8 (patch)
tree47560715a539ba32f94c3bd14aa90bd450be48f0 /library/std/src/sys/windows/stack_overflow_uwp.rs
parent67100f61e62a86f2bf9e38552ee138e231eddc74 (diff)
downloadrust-11a3584de4084deabe23354cb387984d6664a4a8.tar.gz
rust-11a3584de4084deabe23354cb387984d6664a4a8.zip
emitter: column width defaults to 140
This commit modifies the column width computation in the emitter when
`termize::dimensions` returns `None` so that it uses the default value
of 140 (which is used in UI testing currently) instead of `usize::MAX`
which just ends up causing overflows in later computations. This is hard
to test but appears to produce the same output as using saturating
functions instead.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'library/std/src/sys/windows/stack_overflow_uwp.rs')
0 files changed, 0 insertions, 0 deletions