Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit cfcd2be

Browse files
committed
Allow symlinks only for the rust-dev tarball
1 parent 6a93c25 commit cfcd2be

File tree

1 file changed

+2
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/build_steps/dist.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2224,6 +2224,8 @@ impl Step for RustDev {
22242224

22252225
let mut tarball = Tarball::new(builder, "rust-dev", &target.triple);
22262226
tarball.set_overlay(OverlayKind::LLVM);
2227+
// LLVM requires a shared object symlink to exist on some platforms.
2228+
tarball.permit_symlinks(true);
22272229

22282230
builder.ensure(crate::core::build_steps::llvm::Llvm { target });
22292231

0 commit comments

Comments
 (0)