rules_ocaml icon indicating copy to clipboard operation
rules_ocaml copied to clipboard

revise profile machinery

Open mobileink opened this issue 9 months ago • 0 comments

The fact that profiles are implemented as toolchains is an implementation detail, so remove "toolchain" from the relevant names.

E.g. rename @opam.ocamlsdk//toolchain/profiles to something like @opam.ocamlsdk//profile/selectors so we get

register_toolchains(
    "@opam.ocamlsdk//toolchain/selectors/local:all",
    "@opam.ocamlsdk//profile/selectors:all",

instead of the current

register_toolchains(
    "@opam.ocamlsdk//toolchain/selectors/local:all",
    "@opam.ocamlsdk//toolchain/profiles:all",

Ditto for the profile rules.

mobileink avatar Mar 09 '25 18:03 mobileink