Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basically all error handling paths are assumed to be cold and only rarely called. Convey that to the compiler by marking two of the core ones as #[cold], so that it can try and generate better code as a result. This attribute should transitively affect all call-sites. Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information