about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/alloc_example.rs
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-06-12 11:36:55 +0300
committeronur-ozkan <work@onurozkan.dev>2024-06-12 12:19:36 +0300
commit17a7ab73e32b1974e56f84173610540194c8ee9f (patch)
tree06baf5679939113b5bddae4e5b233692f952423f /compiler/rustc_codegen_cranelift/example/alloc_example.rs
parent76c73827dcd0b363e60b22c3cef64bde4171bf17 (diff)
downloadrust-17a7ab73e32b1974e56f84173610540194c8ee9f.tar.gz
rust-17a7ab73e32b1974e56f84173610540194c8ee9f.zip
unify git command preperation
Due to https://github.com/rust-lang/rust/issues/125954, we had to modify git invocations with
certain flags in https://github.com/rust-lang/rust/pull/126255. However, because there are so many
instances of `Command::new("git")` in bootstrap, it is difficult to apply these solutions to all of
them.

This PR creates a helper function that unifies the git usage in bootstrap. Meaning, whenever special flags
or hacks are needed, we can apply them to this single function which makes things much simpler for the bootstrap team.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions