# We mark the local platform as glibc-compatible so that rust can grab a toolchain for us. # TODO(zbarsky): Upstream a better libc constraint into rules_rust. # We only enable this on linux though for sanity, and because it breaks remote execution. platform( name = "local", constraint_values = [ "@toolchains_llvm_bootstrapped//constraints/libc:gnu.2.28", ], parents = [ "@platforms//host", ], ) platform( name = "rbe", constraint_values = [ "@platforms//cpu:x86_64", "@platforms//os:linux", "@bazel_tools//tools/cpp:clang", "@toolchains_llvm_bootstrapped//constraints/libc:gnu.2.28", ], exec_properties = { # Ubuntu-based image that includes git, python3, dotslash, and other # tools that various integration tests need. # Verify at https://hub.docker.com/layers/mbolin491/codex-bazel/latest/images/sha256:8c9ff94187ea7c08a31e9a81f5fe8046ea3972a6768983c955c4079fa30567fb "container-image": "docker://docker.io/mbolin491/codex-bazel@sha256:8c9ff94187ea7c08a31e9a81f5fe8046ea3972a6768983c955c4079fa30567fb", "OSFamily": "Linux", }, ) exports_files(["AGENTS.md"])