SQ in silver chrome letters, a lab's gear stacked against the S: a rack, two oscilloscopes, pizza boxes and a six-pack. Strange Query Lab

CARDIAC › rust-cardiac › Message codes › RCI0004

RCI0004note

Dev profile settings chosen for CARDIAC.

note[RCI0004]: building with {settings} in the dev profile, which [profile.dev] doesn't set

cargo cardiac built the dev profile with settings of its own, because the package's Cargo.toml doesn't set them.

Cargo's dev profile doesn't suit CARDIAC as it is. CARDIAC needs rustc's optimized MIR (opt-level 1 or more), the CARDIAC driver can't build incrementally, and debug info changes the listing. The checks rarely fit in 96 cells, so overflow checks and debug assertions are off: an overflow that cargo run panics on goes unchecked on CARDIAC.

Set any of them in [profile.dev] to choose your own, and the note goes.

[profile.dev]
opt-level = 2
incremental = false
debug = false
overflow-checks = false
debug-assertions = false

In a terminal: cargo cardiac help RCI0004.