Skip to content

Commit a53e4f8

Browse files
authored
Merge pull request #212 from mainmatter/debug-build
Fix build
2 parents b60e021 + 5edddf1 commit a53e4f8

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

book/book.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ highlight-style = "./custom.theme"
3333
# that supports fallback fonts, which we need for emojis.
3434
pdf-engine = "lualatex"
3535
metadata-file = "metadata.yml"
36+
verbosity = "INFO"
3637

3738
[output.pandoc.profile.pdf.variables]
3839
mainfont = "CoreSansA45.ttf"
@@ -49,8 +50,8 @@ sansfontoptions = [
4950
]
5051
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
5152
monofont = "Noto Sans Mono"
52-
mainfontfallback = ["Open Sans"]
53-
sansfontfallback = ["Open Sans"]
53+
mainfontfallback = ["Open Sans:style=Regular"]
54+
sansfontfallback = ["Open Sans:style=Regular"]
5455
monofontfallback = [
5556
"Noto Color Emoji:mode=harf",
5657
]
@@ -90,8 +91,8 @@ sansfontoptions = [
9091
]
9192
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
9293
monofont = "Noto Sans Mono"
93-
mainfontfallback = ["Open Sans"]
94-
sansfontfallback = ["Open Sans"]
94+
mainfontfallback = ["Open Sans:style=Regular"]
95+
sansfontfallback = ["Open Sans:style=Regular"]
9596
monofontfallback = [
9697
"Noto Color Emoji:mode=harf",
9798
]
@@ -121,8 +122,8 @@ metadata-file = "metadata.yml"
121122
[output.pandoc.profile.html.variables]
122123
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
123124
monofont = "Noto Sans Mono"
124-
mainfontfallback = ["Open Sans"]
125-
sansfontfallback = ["Open Sans"]
125+
mainfontfallback = ["Open Sans:style=Regular"]
126+
sansfontfallback = ["Open Sans:style=Regular"]
126127
monofontfallback = [
127128
"Noto Color Emoji:mode=harf",
128129
]

book/src/02_basic_calculator/08_overflow.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ The `bench` profile is the default profile used by `cargo bench`. The `bench` pr
8080
Use `dev` for iterative development and debugging, `release` for optimized production builds,\
8181
`test` for correctness testing, and `bench` for performance benchmarking.
8282

83-
84-
8583
> "Have you built your project in release mode?" is almost a meme in the Rust community.\
8684
> It refers to developers who are not familiar with Rust and complain about its performance on
8785
> social media (e.g. Reddit, Twitter, etc.) before realizing they haven't built their project in

0 commit comments

Comments
 (0)