Skip to content

Commit 91c09d4

Browse files
committed
use the shared assets step for building std too
1 parent f134370 commit 91c09d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/doc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,8 @@ impl Step for Std {
457457
let target = self.target;
458458
let out = builder.doc_out(target);
459459
t!(fs::create_dir_all(&out));
460-
t!(fs::copy(builder.src.join("src/doc/rust.css"), out.join("rust.css")));
460+
461+
builder.ensure(SharedAssets { target: self.target });
461462

462463
let index_page = builder.src.join("src/doc/index.md").into_os_string();
463464
let mut extra_args = vec![

0 commit comments

Comments
 (0)