# PACKAGE · gc2-sanity-20260918/gc2-release-20260919

[View on GitCafe](https://staging.git.cafe/gc2-sanity-20260918/gc2-release-20260919/blob/refs%2Fheads%2Fbe3fx%2Fclaude%2Faffectionate-mccarthy-qvyqn6/PACKAGE)

Repository: [gc2-sanity-20260918/gc2-release-20260919](https://staging.git.cafe/gc2-sanity-20260918/gc2-release-20260919)

Visibility: public

Requested revision: refs/heads/be3fx/claude/affectionate-mccarthy-qvyqn6

Commit: 8512f0856a44f02b18cf49e8c139d258cc694e08

Blob: ac51ef228d3bcd998ccadf64f0f2724b8cf168a7

Size: 1544 bytes

[Immutable source](https://staging.git.cafe/gc2-sanity-20260918/gc2-release-20260919/blob/8512f0856a44f02b18cf49e8c139d258cc694e08/PACKAGE?format=markdown)

```
load("@prelude//rust:cargo_package.bzl", "set_reindeer_platforms")

# Which platform a configuration is, by the names buck/cargo/crates.bzl keys
# cargo's plans by, which is how the third-party rules in third-party/rust pick
# their features and dependencies. This is the prelude's own map with one
# addition: wasi-guest, the plugins, which is the same triple as wasi and
# differs only by the constraint buck/constraints says why exists.
set_reindeer_platforms(
    select({
        "DEFAULT": None,
        "prelude//os:android": select({
            "DEFAULT": None,
            "prelude//cpu:arm64": "android-arm64",
        }),
        "prelude//os:linux": select({
            "DEFAULT": None,
            "prelude//cpu:arm64": "linux-arm64",
            "prelude//cpu:x86_64": "linux-x86_64",
        }),
        "prelude//os:macos": select({
            "DEFAULT": None,
            "prelude//cpu:arm64": "macos-arm64",
            "prelude//cpu:x86_64": "macos-x86_64",
        }),
        "prelude//os:none": select({
            "DEFAULT": None,
            "prelude//cpu:wasm32": "wasm32",
        }),
        "prelude//os:wasi": select({
            "DEFAULT": None,
            "prelude//cpu:wasm32": select({
                "DEFAULT": "wasi",
                "root//buck/constraints:guest": "wasi-guest",
            }),
        }),
        "prelude//os:windows": select({
            "DEFAULT": None,
            "prelude//cpu:arm64": "windows-arm64",
            "prelude//cpu:x86_64": "windows-x86_64",
        }),
    })
)

```
