Skip to content

Commit

Permalink
Merge pull request #212 from mainmatter/debug-build
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
marcoow authored Nov 12, 2024
2 parents b60e021 + 5edddf1 commit a53e4f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 7 additions & 6 deletions book/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ highlight-style = "./custom.theme"
# that supports fallback fonts, which we need for emojis.
pdf-engine = "lualatex"
metadata-file = "metadata.yml"
verbosity = "INFO"

[output.pandoc.profile.pdf.variables]
mainfont = "CoreSansA45.ttf"
Expand All @@ -49,8 +50,8 @@ sansfontoptions = [
]
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
monofont = "Noto Sans Mono"
mainfontfallback = ["Open Sans"]
sansfontfallback = ["Open Sans"]
mainfontfallback = ["Open Sans:style=Regular"]
sansfontfallback = ["Open Sans:style=Regular"]
monofontfallback = [
"Noto Color Emoji:mode=harf",
]
Expand Down Expand Up @@ -90,8 +91,8 @@ sansfontoptions = [
]
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
monofont = "Noto Sans Mono"
mainfontfallback = ["Open Sans"]
sansfontfallback = ["Open Sans"]
mainfontfallback = ["Open Sans:style=Regular"]
sansfontfallback = ["Open Sans:style=Regular"]
monofontfallback = [
"Noto Color Emoji:mode=harf",
]
Expand Down Expand Up @@ -121,8 +122,8 @@ metadata-file = "metadata.yml"
[output.pandoc.profile.html.variables]
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
monofont = "Noto Sans Mono"
mainfontfallback = ["Open Sans"]
sansfontfallback = ["Open Sans"]
mainfontfallback = ["Open Sans:style=Regular"]
sansfontfallback = ["Open Sans:style=Regular"]
monofontfallback = [
"Noto Color Emoji:mode=harf",
]
Expand Down
2 changes: 0 additions & 2 deletions book/src/02_basic_calculator/08_overflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ The `bench` profile is the default profile used by `cargo bench`. The `bench` pr
Use `dev` for iterative development and debugging, `release` for optimized production builds,\
`test` for correctness testing, and `bench` for performance benchmarking.



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

0 comments on commit a53e4f8

Please sign in to comment.