-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure table tests pass with miri
We previously assumed that &'static str would always have the same address, but with miri it seems like this address is not actually stable (see rust-lang/miri#1955). So refactor the tests to let it use the StringInterner instead of constructing InternedString by itself.
- Loading branch information
1 parent
4de7ada
commit df16174
Showing
2 changed files
with
41 additions
and
34 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