Closed lfrancke closed 3 weeks ago
I think the best approach would be cdx:rustc:target:triple
. Rationale:
cdx:rustc:target
namespace once they are stabilized upstream.Target triples are part of the compiler, not the language, so I think rustc
makes more sense than rust
.
@jkowalleck Any opinions/objections to the plan from @Shnatsel? If not, one of us will send a PR with the necessary changes.
please send the PR :rocket:
you are the experts, all i might do is nagging about naming conventions
We would like to record information in properties which don't have a place elsewhere.
For that we'd like to request a namespace under
cdx
.Our idea is to have two namespaces:
rustc
(orrust
?) andcargo
.@Shnatsel:
Once a decision has been reached we're happy to provide the proper PR for this issue. One namespace would probably be empty at this moment but the other one (rust) will include the target architecture which e.g. Go already does as well using the property name
cdx:gomod:build:env:GOARCH
. For rust it would probably be calledrustc:target
or similar.