Skip to content

Test ways to offer a py_binary together with a toolchain from rules_python

Notifications You must be signed in to change notification settings

lucasmuna/rules_python_offer_toolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

From a child repo I want to be able to call base print_version binary with the toolchain defined inside base.

Something like this:
```
bazel run @base//:print_version
```
or this:
```
bazel run @base//:print_version --extra_toolchains=@base_python_toolchains//:x86_64-unknown-linux-gnu_toolchain
```

The problem is that I don't control which child's rules_python version nor how its configuration.

Is it possible to achieve this behaviour using rules_python toolchains or should I create my own?

About

Test ways to offer a py_binary together with a toolchain from rules_python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published