Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

build profile

Debug (fast to build, checked) or release (optimized) settings for a build.

A profile is a named set of compiler settings; dev (debug) builds quickly with checks on, release optimizes (cargo build --release).

Loading interactive…

Examples

  • A program that checks cfg!(debug_assertions) prints This is a debug build. under cargo run and This is a release build. under cargo run --release.

  • level += 10 on a u8 holding 250 panics in a debug build but wraps to 4 in a release build.

Read the full section →