Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiletest: Introduce remove_and_create_dir_all() helper #122786

Merged
merged 2 commits into from
Mar 21, 2024

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    352587a View commit details
    Browse the repository at this point in the history
  2. 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.
    Enselic committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    c3cc6c1 View commit details
    Browse the repository at this point in the history