pub fn constraints_equal(got: &[String], want: &[String]) -> bool
Ported from ConstraintsEqual.
ConstraintsEqual