bazelbuild / bazelbuild/rules_rust

Allowing Label to own it's content

Open
#1,408 3 comments 0 reactions 0 assignees View on GitHub
needs-triage question
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

Looking at https://github.com/bazelbuild/rules_rust/tree/0.5.0/util/label I'm wondering why it effectively only wraps a some owned data elsewhere. Would it make sense to allow `Label` to be a struct which owns a string and can comfortably parse out `repository_name`, `package_name`, and `target`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.