Cargo Features

[dependencies]
emcell = { version = "0.0.1", default-features = false, features = ["build-rs", "rt-crate-cortex-m-rt"] }
default = rt-crate-cortex-m-rt

The rt-crate-cortex-m-rt feature is set by default whenever emcell is added without default-features = false somewhere in the dependency tree.

build-rs
rt-crate-cortex-m-rt default = cortex-m

Affects build_rs::build_rs, device::init_memory, device::switch_vectors

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

cortex-m rt-crate-cortex-m-rt