|
|
|
|
|
by pcwalton
3741 days ago
|
|
That's something that Rust fully supports with panic handlers. Doing arbitrary work before the process goes down is useful and supported. (But you will have to be running Linux in a non-default configuration for it to be reliable, of course!) |
|
> But you will have to be running Linux in a non-default configuration for it to be reliable, of course!
Of course. It does seem to work in practice with our C++ code, although probably that's due to our usage pattern.