Skip to content
Verified Commit e89d679e authored by Matthew Clarkson's avatar Matthew Clarkson
Browse files

feat: add `ape_toolchain` macro

The macro registers APE binaries for the platform contraints that are supported.

This prevents host platforms that are unsupported from resolving the toolchain.

```py
load("@ape//ape/toolchain:defs.bzl", "ape_toolchain")

toolchain_type(
    name = "type",
)

ape_toolchain(
    name = "ape",
    toolchain = "@ape//:curl",
    toolchain_type = ":type",
)
```
parent 3190cb94
Loading
Loading
Loading
Pipeline #7654 passed with stages
in 1 minute and 14 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment