1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

add more to optimization docs

This commit is contained in:
mat 2022-11-11 22:16:39 -06:00
parent e6db7d5f2f
commit d235349229

View file

@ -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
//!