Skip to content

Commit 099b9fd

Browse files
authored
Auto merge of #36030 - Manishearth:rollup, r=Manishearth
Rollup of 7 pull requests - Successful merges: #35124, #35877, #35953, #36002, #36004, #36005, #36014 - Failed merges:
2 parents 6b74503 + 668d631 commit 099b9fd

File tree

192 files changed

+1479
-3849
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+1479
-3849
lines changed

mk/docs.mk

+1-8
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ERR_IDX_GEN_MD = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(ERR_IDX_GEN_EXE)
6666

6767
D := $(S)src/doc
6868

69-
DOC_TARGETS := book nomicon style error-index
69+
DOC_TARGETS := book nomicon error-index
7070
COMPILER_DOC_TARGETS :=
7171
DOC_L10N_TARGETS :=
7272

@@ -209,13 +209,6 @@ doc/nomicon/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/nomicon/*.md) |
209209
$(Q)rm -rf doc/nomicon
210210
$(Q)$(RUSTBOOK) build $(S)src/doc/nomicon doc/nomicon
211211

212-
style: doc/style/index.html
213-
214-
doc/style/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/style/*.md) | doc/
215-
@$(call E, rustbook: $@)
216-
$(Q)rm -rf doc/style
217-
$(Q)$(RUSTBOOK) build $(S)src/doc/style doc/style
218-
219212
error-index: doc/error-index.html
220213

221214
# Metadata used to generate the index is created as a side effect of

src/bootstrap/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,6 @@ impl Build {
308308
doc::rustbook(self, stage, target.target, "nomicon",
309309
&doc_out);
310310
}
311-
DocStyle { stage } => {
312-
doc::rustbook(self, stage, target.target, "style",
313-
&doc_out);
314-
}
315311
DocStandalone { stage } => {
316312
doc::standalone(self, stage, target.target, &doc_out);
317313
}

src/bootstrap/step.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ macro_rules! targets {
9292
(doc, Doc { stage: u32 }),
9393
(doc_book, DocBook { stage: u32 }),
9494
(doc_nomicon, DocNomicon { stage: u32 }),
95-
(doc_style, DocStyle { stage: u32 }),
9695
(doc_standalone, DocStandalone { stage: u32 }),
9796
(doc_std, DocStd { stage: u32 }),
9897
(doc_test, DocTest { stage: u32 }),
@@ -366,8 +365,7 @@ impl<'a> Step<'a> {
366365
vec![self.libtest(compiler)]
367366
}
368367
Source::DocBook { stage } |
369-
Source::DocNomicon { stage } |
370-
Source::DocStyle { stage } => {
368+
Source::DocNomicon { stage } => {
371369
vec![self.target(&build.config.build).tool_rustbook(stage)]
372370
}
373371
Source::DocErrorIndex { stage } => {
@@ -382,8 +380,7 @@ impl<'a> Step<'a> {
382380
Source::Doc { stage } => {
383381
let mut deps = vec![
384382
self.doc_book(stage), self.doc_nomicon(stage),
385-
self.doc_style(stage), self.doc_standalone(stage),
386-
self.doc_std(stage),
383+
self.doc_standalone(stage), self.doc_std(stage),
387384
self.doc_error_index(stage),
388385
];
389386

src/doc/style/README.md

-64
This file was deleted.

src/doc/style/SUMMARY.md

-50
This file was deleted.

src/doc/style/errors/README.md

-3
This file was deleted.

src/doc/style/errors/ergonomics.md

-66
This file was deleted.

src/doc/style/errors/handling.md

-7
This file was deleted.

src/doc/style/errors/propagation.md

-8
This file was deleted.

src/doc/style/errors/signaling.md

-125
This file was deleted.

0 commit comments

Comments
 (0)