-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken tests after toolchain update
Summary: These tests could potentially do unaligned pointer reads because the test data is not guaranteed to be aligned. There is also now a debug assertion in `CString::from_vec_with_nul_unchecked` that ensures the NUL byte is at the end of the `Vec`. Names in dirents may be padded out to keep them aligned. Reviewed By: dtolnay Differential Revision: D53597638 fbshipit-source-id: ad6018564d6afd4e8f5de4390d63f64e6c5cadf7
- Loading branch information
1 parent
9c5eb61
commit 1422082
Showing
2 changed files
with
38 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters