aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-11-11 22:16:39 -0600
committermat <github@matdoes.dev>2022-11-11 22:16:39 -0600
commitd2353492294ba896772df398af16427beb84b4e1 (patch)
tree60104df242d2959a821b53d9e532dc5e015b8cf9
parente6db7d5f2ffa88e95965a421b13e54b83aaef175 (diff)
downloadazalea-drasl-d2353492294ba896772df398af16427beb84b4e1.tar.xz
add more to optimization docs
-rw-r--r--azalea/src/lib.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs
index 8287ea1b..83ad8d36 100644
--- a/azalea/src/lib.rs
+++ b/azalea/src/lib.rs
@@ -17,19 +17,21 @@
//! Latest "stable" release:
//! `azalea = "0.3"`
//!
-//! # Optimization
+//! ## Optimization
//!
-//! For faster compile times, make a .cargo/config.toml file in your project
+//! For faster compile times, make a `.cargo/config.toml` file in your project
//! and copy
//! [this file](https://github.com/mat-1/azalea/blob/main/.cargo/config.toml)
//! into it.
//!
//! For faster performance in debug mode, add
//! ```toml
-//! [profile.dev.package.*]
+//! [profile.dev]
+//! opt-level = 1
+//! [profile.dev.package."*""]
//! opt-level = 3
//! ```
-//! to your Cargo.toml.
+//! to your Cargo.toml. You may have to install the LLD linker.
//!
//! # Examples
//!