Download patches/xz_windows_stack_args.patch from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/patches/xz_windows_stack_args.patch
- Command line
-
hf download hf://SaylorTwift/codex/patches/xz_windows_stack_args.patch
-
curl -L -o xz_windows_stack_args.patch https://huggingface.co/SaylorTwift/codex/resolve/main/patches/xz_windows_stack_args.patch
379 Bytes
| diff --git a/BUILD.bazel b/BUILD.bazel | |
| --- a/BUILD.bazel | |
| +++ b/BUILD.bazel | |
| cc_library( | |
| ], | |
| copts = select({ | |
| - "@platforms//os:windows": [], | |
| + "@platforms//os:windows": [ | |
| + "-fno-stack-protector", | |
| + "-mno-stack-arg-probe", | |
| + ], | |
| "//conditions:default": ["-std=c99"], | |
| }), | |
| defines = select({ | |