Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always inline layout validation and pointer cast code to optimize out…
… panics in (#1997) (#2013) `validate_cast_and_convert_metadata`. If `try_cast_into` and `validate_cast_and_convert_metadata` are not inlined, then the compiler will include a panic in `validate_cast_and_convert_metadata`. If these functions are inlined, then the panic can be optimized out. Co-authored-by: Carl Lundin <[email protected]>
- Loading branch information