Skip to content

Switch serde test to fnv to avoid 32bit issues#214

Merged
bors merged 2 commits intorust-lang:masterfrom
tkaitchuck:hashorder
Dec 9, 2020
Merged

Switch serde test to fnv to avoid 32bit issues#214
bors merged 2 commits intorust-lang:masterfrom
tkaitchuck:hashorder

Conversation

@tkaitchuck
Copy link
Contributor

@tkaitchuck tkaitchuck commented Nov 25, 2020

Currently the serde test depends on the order of the items in the hashmap. FxHash uses different multiplication constants on 32bit and 64bit architectures making the test fail if run on 32bit systems.
This switches to fnv which is fully deterministic.

@Amanieu
Copy link
Member

Amanieu commented Nov 29, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Nov 29, 2020

📌 Commit 6649ebc has been approved by Amanieu

bors added a commit that referenced this pull request Nov 29, 2020
Switch serde test to fnv to avoid 32bit issues

Currently the serde test depends on the order of the items in the hashmap. FxHash uses different multiplication constants on 32bit and 64bit architectures making the test fail if run on 32bit systems.
This switches to fnv which is fully deterministic.
@bors
Copy link
Contributor

bors commented Nov 29, 2020

⌛ Testing commit 6649ebc with merge fe1ff88...

@bors
Copy link
Contributor

bors commented Nov 29, 2020

💔 Test failed - checks-travis

@tkaitchuck
Copy link
Contributor Author

@bors try

@bors
Copy link
Contributor

bors commented Dec 5, 2020

@tkaitchuck: 🔑 Insufficient privileges: not in try users

@Amanieu
Copy link
Member

Amanieu commented Dec 9, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Dec 9, 2020

📌 Commit cb6f817 has been approved by Amanieu

@bors
Copy link
Contributor

bors commented Dec 9, 2020

⌛ Testing commit cb6f817 with merge e4d6beb...

@bors
Copy link
Contributor

bors commented Dec 9, 2020

☀️ Test successful - checks-travis
Approved by: Amanieu
Pushing e4d6beb to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants