Revert "port over symlink_file function from Build to Config and create symlink for legacy rustfmt path"

This reverts commit 41c6c5d499.
This commit is contained in:
Jakub Beránek 2023-02-21 10:04:19 +01:00
parent f715e430aa
commit a5d27316fe
No known key found for this signature in database
GPG key ID: 909CD0D26483516B
3 changed files with 12 additions and 20 deletions

View file

@ -516,7 +516,7 @@ impl Step for Llvm {
let lib_llvm = out_dir.join("build").join("lib").join(lib_name);
if !lib_llvm.exists() {
t!(builder.build.config.symlink_file("libLLVM.dylib", &lib_llvm));
t!(builder.symlink_file("libLLVM.dylib", &lib_llvm));
}
}