Download patches/bzip2_windows_stack_args.patch from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 586 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/patches/bzip2_windows_stack_args.patch
- Command line
-
hf download hf://SaylorTwift/codex/patches/bzip2_windows_stack_args.patch
-
curl -L -o bzip2_windows_stack_args.patch https://huggingface.co/SaylorTwift/codex/resolve/main/patches/bzip2_windows_stack_args.patch
586 Bytes
| diff --git a/BUILD.bazel b/BUILD.bazel | |
| --- a/BUILD.bazel | |
| +++ b/BUILD.bazel | |
| cc_library( | |
| defines = [ | |
| "_FILE_OFFSET_BITS=64", | |
| ], | |
| + copts = select({ | |
| + "@platforms//os:windows": [ | |
| + "-fno-stack-protector", | |
| + "-mno-stack-arg-probe", | |
| + ], | |
| + "//conditions:default": [], | |
| + }), | |
| includes = ["."], | |
| diff --git a/MODULE.bazel b/MODULE.bazel | |
| --- a/MODULE.bazel | |
| +++ b/MODULE.bazel | |
| module( | |
| ) | |
| bazel_dep(name = "rules_cc", version = "0.0.10") | |
| +bazel_dep(name = "platforms", version = "1.0.0") | |