Skip to content

Commit

Permalink
Remove unnecessary special case
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Sep 13, 2024
1 parent d5e2e23 commit 652b004
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build_system/prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,7 @@ pub(crate) fn apply_patches(dirs: &Dirs, crate_name: &str, source_dir: &Path, ta

remove_dir_if_exists(target_dir);
fs::create_dir_all(target_dir).unwrap();
if crate_name == "stdlib" {
fs::create_dir(target_dir.join("library")).unwrap();
copy_dir_recursively(&source_dir.join("library"), &target_dir.join("library"));
} else {
copy_dir_recursively(source_dir, target_dir);
}
copy_dir_recursively(source_dir, target_dir);

init_git_repo(target_dir);

Expand Down

0 comments on commit 652b004

Please sign in to comment.