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:
parent
e6db7d5f2f
commit
d235349229
1 changed files with 6 additions and 4 deletions
|
@ -17,19 +17,21 @@
|
||||||
//! Latest "stable" release:
|
//! Latest "stable" release:
|
||||||
//! `azalea = "0.3"`
|
//! `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
|
//! and copy
|
||||||
//! [this file](https://github.com/mat-1/azalea/blob/main/.cargo/config.toml)
|
//! [this file](https://github.com/mat-1/azalea/blob/main/.cargo/config.toml)
|
||||||
//! into it.
|
//! into it.
|
||||||
//!
|
//!
|
||||||
//! For faster performance in debug mode, add
|
//! For faster performance in debug mode, add
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [profile.dev.package.*]
|
//! [profile.dev]
|
||||||
|
//! opt-level = 1
|
||||||
|
//! [profile.dev.package."*""]
|
||||||
//! opt-level = 3
|
//! opt-level = 3
|
||||||
//! ```
|
//! ```
|
||||||
//! to your Cargo.toml.
|
//! to your Cargo.toml. You may have to install the LLD linker.
|
||||||
//!
|
//!
|
||||||
//! # Examples
|
//! # Examples
|
||||||
//!
|
//!
|
||||||
|
|
Loading…
Add table
Reference in a new issue