| Build both objects under buck2, against the BuildBuddy cache 600f207 nandi 19d ago | 1 | load("@prelude//platforms:defs.bzl", "host_configuration") |
| 2 | load(":defs.bzl", "execution_platform") |
| 3 | |
| 4 | # Where every action runs: locally, against the BuildBuddy cache. Registered by |
| 5 | # `[build] execution_platforms` in .buckconfig — and, because a toolchain is |
| 6 | # itself a target in the prelude cell, by `[parser] target_platform_detector_spec` |
| 7 | # there too. Setting only the first leaves every rustc action on the prelude's |
| 8 | # uncached default. |
| 9 | execution_platform( |
| 10 | name = "cache", |
| 11 | cpu_configuration = host_configuration.cpu, |
| 12 | os_configuration = host_configuration.os, |
| 13 | use_windows_path_separators = host_info().os.is_windows, |
| 14 | visibility = ["PUBLIC"], |
| 15 | ) |