Skip to content

Conversation

pswaminathan
Copy link

amd64 gets returned by repository_ctx.os.arch, and yet the CPU constraint only has x86_64. This becomes un-ergonomic when trying to set up repository and toolchain rules—I constantly have to ask myself which is which/try it out. arm64 has an alias to aarch64, so there is precedent for including an equivalent name when the implementation-canonical name may not be as friendly or widely known.

`amd64` gets returned by `repository_ctx.os.arch`, and yet the CPU constraint only has `x86_64`. This becomes un-ergonomic when trying to set up repository and toolchain rules—I constantly have to ask myself which is which/try it out. `arm64` has an alias to `aarch64`, so there is precedent for including an equivalent name when the implementation-canonical name may not be as friendly or widely known.
@pswaminathan
Copy link
Author

This is similar to #43, implemented the way consensus on that PR actually suggests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant