about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-03-20 20:29:47 -0400
committerGitHub <noreply@github.com>2024-03-20 20:29:47 -0400
commitf25397adc0a143d28bd6a3fd57e441ef213c65b1 (patch)
tree48bcd85cce7f633d2f46e360f343ed1f1e0afe73 /compiler/rustc_codegen_llvm/src
parentafdbad80b1002ea6416d3bf1ba9847f3d48879e9 (diff)
parentc3cc6c199012094ab3017c07a67e9b37469ebf91 (diff)
downloadrust-f25397adc0a143d28bd6a3fd57e441ef213c65b1.tar.gz
rust-f25397adc0a143d28bd6a3fd57e441ef213c65b1.zip
Rollup merge of #122786 - Enselic:remove_and_create_dir_all, r=onur-ozkan
compiletest: Introduce `remove_and_create_dir_all()` helper

The code

    let _ = fs::remove_dir_all(&dir);
    create_dir_all(&dir).unwrap();

is duplicated in 7 places. Let's introduce a helper.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions