fromString

This function can be used to translate a string-based build constraint (without the //go:build prefix) into a BuildConstraintExpression.