object: Improve correctness
Due to the fact that object::File takes a reference to the mmap-ed
file, we needed to do some awful lifetime hacks to fit it in the API we
wanted. While getting rid of the raw pointer and drop impl, Ricardo
noticed that there was some lurking UB too, so this fixes it as well.
object: Improve correctness Due to the fact that
object::File
takes a reference to the mmap-ed file, we needed to do some awful lifetime hacks to fit it in the API we wanted. While getting rid of the raw pointer and drop impl, Ricardo noticed that there was some lurking UB too, so this fixes it as well.Co-authored-by: Ricardo Delfin me@rdelfin.com
Test Plan
CI