carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
https://github.com/carbon-language/carbon-lang/blob/trunk/README.md
Other
32.31k stars 1.48k forks source link

Replace use of deprecated `outputs` rule parameter. #4074

Closed chandlerc closed 1 week ago

chandlerc commented 1 week ago

Instead compute the output in the implementation and return it via the DefaultInfo provider. This matches the latest docs on how to write rules producing a file: https://bazel.build/rules/rules-tutorial#creating_a_file