Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix miri validation errors through now stricter provenance (#103)
* fix(miri): box transmute and invalid references The general causes for the miri invalidation is the prevelant use of `Box` and its references to `ErrorImpl<()>`. `mem::transmute` does not preserve the tag stack for transmuting the boxes. Additionally, having references to `ErrorImpl<()>` which has a different layout than the allocation or `ErrorImpl<E>` for some unknown `E`. This causes the new "untyped" reference to now have a provenance that includes the size of E and thus is outside the provenance. * fix(miri): downcast_mut using `&mut _ => *const _ => *mut` * fix(miri): stub file reading * fix(miri): don't construct temp references of shunk provenance * ci: miri * fix: `unsafe_op_in_unsafe_fn` * chore!: bump MSRV * chore: address PR comments * fix: ci workflow names * chore: raise msrv to 1.65 (addr2line) * chore: revert distinctive CI names due to branch protection rules The new names, such as `Test Platform Matrix` which do make it easier to see which jobs failed, rather than msrv, test, and miri all being called `Test Suite`, the in-place branch protection rules wait forever until the now non-existent `Test Suite` passes
- Loading branch information