partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 13 Jun 2024 09:16:40 +0000 (11:16 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Tue, 21 Jan 2025 10:38:15 +0000 (11:38 +0100)
Forwarded: not-needed

Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-permit-symlink-in-docs.patch

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

index 0cb8971634f1928bd0a1c1f7c6c347ea472a33d7..de8b0a4865fedd800ee566d25122b15068e21ecb 100644 (file)
@@ -79,6 +79,7 @@ impl Step for Docs {
         tarball.set_product_name("Rust Documentation");
         tarball.add_bulk_dir(builder.doc_out(host), dest);
         tarball.add_file(builder.src.join("src/doc/robots.txt"), dest, 0o644);
+        tarball.permit_symlinks(true);
         Some(tarball.generate())
     }
 }