mirror of
https://github.com/openai/codex.git
synced 2026-03-05 13:35:28 +03:00
# External (non-OpenAI) Pull Request Requirements Before opening this Pull Request, please read the dedicated "Contributing" markdown file or your PR may be closed: https://github.com/openai/codex/blob/main/docs/contributing.md If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes. Include a link to a bug report or enhancement request.
32 lines
959 B
Python
32 lines
959 B
Python
load("@apple_support//xcode:xcode_config.bzl", "xcode_config")
|
|
|
|
xcode_config(name = "disable_xcode")
|
|
|
|
# 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_linux",
|
|
constraint_values = [
|
|
# We mark the local platform as glibc-compatible because musl-built rust cannot dlopen proc macros.
|
|
"@llvm//constraints/libc:gnu.2.28",
|
|
],
|
|
parents = ["@platforms//host"],
|
|
)
|
|
|
|
platform(
|
|
name = "local_windows",
|
|
constraint_values = [
|
|
# We just need to pick one of the ABIs. Do the same one we target.
|
|
"@rules_rs//rs/experimental/platforms/constraints:windows_gnullvm",
|
|
],
|
|
parents = ["@platforms//host"],
|
|
)
|
|
|
|
alias(
|
|
name = "rbe",
|
|
actual = "@rbe_platform",
|
|
)
|
|
|
|
exports_files(["AGENTS.md"])
|