Skip to content

Commit b402182

Browse files
committed
Auto merge of rust-lang#115544 - onur-ozkan:patch-binaries-for-nix-configure, r=albertlarsan68
support `{disable,enable}-patch-binaries-for-nix` in configure.py Provide the control of `patch-binaries-for-nix` flag from configure.py without requiring manual editing. It's useful when: https://github.com/rust-lang/rust/blob/bf1e3f31f95c0f75b9bf51a58e8684f750f919f2/src/bootstrap/bootstrap.py#L661-L667
2 parents af488be + d454cab commit b402182

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/bootstrap/configure.py

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def v(*args):
5858
o("missing-tools", "dist.missing-tools", "allow failures when building tools")
5959
o("use-libcxx", "llvm.use-libcxx", "build LLVM with libc++")
6060
o("control-flow-guard", "rust.control-flow-guard", "Enable Control Flow Guard")
61+
o("patch-binaries-for-nix", "build.patch-binaries-for-nix", "whether patch binaries for usage with Nix toolchains")
6162

6263
v("llvm-cflags", "llvm.cflags", "build LLVM with these extra compiler flags")
6364
v("llvm-cxxflags", "llvm.cxxflags", "build LLVM with these extra compiler flags")

0 commit comments

Comments
 (0)