urbdyn / rules_fish

Bazel toolchain rules for Fish shell.
Apache License 2.0
2 stars 0 forks source link

Support multiple toolchains and dynamic repo/toolchain names #8

Open Matthew-Benson opened 1 month ago

Matthew-Benson commented 1 month ago

Users may want to register multiple Fish toolchains (may need to support Fish c++ and Fish Rust at the same time within the same repo) and we do not currently support this.

The plumbing is mostly there, but the e2e flow is just not supported - you will always get 3.7.1 from the current toolchain as of the time of writing and the remote repo and toolchain names are not dynamic, which would be required to have external repos registered. Example: @fish_toolchains_3_7_1//fish:fish and @fish_toolchains_3_8_0//fish:fish.