mirror of
https://github.com/openai/codex.git
synced 2026-03-05 21:45:28 +03:00
Adds voice transcription on press-and-hold of spacebar. https://github.com/user-attachments/assets/85039314-26f3-46d1-a83b-8c4a4a1ecc21 --------- Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Co-authored-by: David Zbarsky <zbarsky@openai.com>
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
load("@apple_support//xcode:xcode_config.bzl", "xcode_config")
|
|
load("@rules_cc//cc:defs.bzl", "cc_shared_library")
|
|
|
|
cc_shared_library(
|
|
name = "clang",
|
|
deps = ["@llvm-project//clang:libclang"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
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.
|
|
"@toolchains_llvm_bootstrapped//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"])
|