mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 20:57:21 +00:00

Add recursion limit to FFI safety lint Fixes #130310 Now we check against `tcx.recursion_limit()` and raise an error if it the limit is reached instead of overflowing the stack.