about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-02-18 20:08:59 +0900
committerGitHub <noreply@github.com>2020-02-18 20:08:59 +0900
commit6c4f8598b916087e2758d8c14c249ee5fa4fa0d5 (patch)
tree3a29c4ed19c819f8e9621a7e1261ed922a7f1aac /src/libstd/sys/unix/stack_overflow.rs
parent0176a9eef845e7421b7e2f7ef015333a41a7c027 (diff)
parentc53693d34d83e6221dc8b93a2c4e17e66fa6f0e2 (diff)
downloadrust-6c4f8598b916087e2758d8c14c249ee5fa4fa0d5.tar.gz
rust-6c4f8598b916087e2758d8c14c249ee5fa4fa0d5.zip
Rollup merge of #67272 - fisherdarling:master, r=varkor,hellow554
recursion_limit parsing handles overflows

This PR adds overflow handling to `#![recursion_limit]` attribute parsing. If parsing the given value results in an `IntErrorKind::Overflow`, then the recursion_limit is set to `usize::max_value()`.

closes #67265
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions