Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mk/docs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ doc/nomicon/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/nomicon/*.md) |
@$(call E, rustbook: $@)
$(Q)rm -rf doc/nomicon
$(Q)$(RUSTBOOK) build $(S)src/doc/nomicon doc/nomicon
$(Q)cp src/doc/nomicon/safeandunsafe.svg doc/nomicon/safeandunsafe.svg

style: doc/style/index.html

Expand Down
1 change: 1 addition & 0 deletions src/bootstrap/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ impl Build {
DocNomicon { stage } => {
doc::rustbook(self, stage, target.target, "nomicon",
&doc_out);
std::fs::copy("src/doc/nomicon/safeandunsafe.svg", "doc/nomicon/safeandunsafe.svg");
}
DocStyle { stage } => {
doc::rustbook(self, stage, target.target, "style",
Expand Down
2 changes: 2 additions & 0 deletions src/doc/nomicon/meet-safe-and-unsafe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
% Meet Safe and Unsafe

![safe and unsafe](safeandunsafe.svg)

Programmers in safe "high-level" languages face a fundamental dilemma. On one
hand, it would be *really* great to just say what you want and not worry about
how it's done. On the other hand, that can lead to unacceptably poor
Expand Down
Loading