roc-lang / rbt

Roc Build Tool
Universal Permissive License v1.0
49 stars 5 forks source link

Fix hash utf8 problem #90

Closed BrianHicks closed 1 year ago

BrianHicks commented 1 year ago

We've been lucky so far that the hashes are accidentally also valid utf8 strings. That luck ran out today! Fortunately, it's easy enough to get a blake3::Hash back and just use that as the mapped value, plus it's actually correct!