mozilla/rust — pull request #14145 by pnkfelix (2014-05-12 17:13:34+00:00)
Title: Better strict version hash (SVH) computation

Teach SVH computation to ignore more implementation artifacts.

In particular, this version of strict version hash (SVH) works much
like the deriving(Hash)-based implementation did, except that it
deliberately:

1. skips over content known not affect the generated crates, and,

2. uses a content-based hash for names instead of using the value of
the `Name` index itself, which can differ depending on the order
in which strings are interned (which in turn is affected by
e.g. the presence of `--cfg` options on the command line).

Fix #14132.