Artifact in anon_target
Open
- Dominant language
- Rust
- Stars
- 4.4k
- Forks
- 394
- PR merge metrics
- No merged PRs in 30d
Description
I'm attempting to pass an artifact through a anon_target call (the artifacts are projected)
```
return ctx.actions.anon_target(native.cxx_library, {
"srcs": pb_cc,
}).map(k)
```
```
Expected value of type `string`, got value with type `artifact`
```
@dtolnay suggested that passing an "artifact" through to an attrs.source is likely intended to work. Have I just hit an edge-case of type coercion or something like that?
Contributor guide
Assessment
This issue has not been assessed yet.