News for hackers. Stuff that matters.
Re:Migrating from Go to Rust by imtringued on Monday May 25, 2026 @10:23AM (#48267214)
If you let the allocation error panic you will get your stack trace.

You can't have a stack trace on an error in the error path that failed to allocate. If you have a "jumbo sized" error and the error fails to allocate, it won't get reported. The only reporting you will get is that the error failed to allocate and this new allocation error overrides the error that failed to allocate.

There are no comments on this comment yet.