d-bootstrap-permit-symlink-in-docs
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Wed, 12 Jun 2024 15:33:10 +0000 (17:33 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Wed, 12 Jun 2024 15:33:10 +0000 (17:33 +0200)
partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

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

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

index b499edee62a6c12eda2b7d85eda68095c244a051..3f1e090d1aaa2a9120c2a9fc764f80a1221193e1 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())
     }
 }