Re:Neat Rust Tricks: Passing Closures to C
by richardwhiuk on Tuesday November 26, 2019 @05:25AM
(#21637046)
It'll fail from a signal handler inside qsort, or inside the callback function.
It won't fail recursively - while the second call is happening, the first will be stored on the stack (see the take and replace in the callback shim function)
It won't fail recursively - while the second call is happening, the first will be stored on the stack (see the take and replace in the callback shim function)