Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use repository_ctx.os.name and repository_ctx.os.arch #57

Closed
kusaeva opened this issue Feb 14, 2024 · 2 comments
Closed

Use repository_ctx.os.name and repository_ctx.os.arch #57

kusaeva opened this issue Feb 14, 2024 · 2 comments
Assignees

Comments

@kusaeva
Copy link
Contributor

kusaeva commented Feb 14, 2024

Hi!
What do you think about starting using repository_ctx.os.name and repository_ctx.os.arch here.
The comment refers to already closed issue
We hase some problem with buf toolchains on apple m2 pro:

ToolchainResolution: Type @rules_buf//tools/protoc-gen-buf-lint:toolchain_type: execution platform @local_config_platform//:host: Rejected toolchain @rules_buf_toolchains//:protoc-gen-buf-lint_toolchain_impl; mismatching values: x86_64

Hope it helps

@srikrsna-buf
Copy link
Member

Hey! That'd be great to use that, can you send a PR for that? Also it is odd because I've tested this on Apple silicon

@kusaeva
Copy link
Contributor Author

kusaeva commented Feb 15, 2024

I have two machines with m2 pro, one has a problem with toolchain, other - not, still can't figure out the difference (-__-)

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

No branches or pull requests

2 participants