diff --git a/build_system/prepare.rs b/build_system/prepare.rs index 09fbdc3104d..ea03870f6e5 100644 --- a/build_system/prepare.rs +++ b/build_system/prepare.rs @@ -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);