Cargo Features
[dependencies]
gba = { version = "0.14.1", default-features = false, features = ["track_caller", "on_gba", "fixed", "aeabi_mem_fns", "critical-section"] }
- default = on_gba, track_caller
-
These default features are set whenever
gba
is added without
somewhere in the dependency tree.default-features = false - track_caller default
- on_gba default
-
Affects
gba::bios
,gba::dma
,gba::gba_cell
,gba::mgba
,gba::mmio
,gba::RUST_IRQ_HANDLER
,video::video3_clear_to
,video::video3_set_bitmap
,video::video4_set_indexmap
… - fixed
-
Enables fixed
Affects
fixed::i16fx8
,fixed::i16fx14
,fixed::i32fx8
… - aeabi_mem_fns
-
Provide the ARM AEABI memory functions, requires Nightly because they're written as naked functions for efficiency. They're
no_mangle
and they're placed in IWRAM.
Features from optional dependencies
- critical-section implicit feature
-
Enables critical-section
critical-section:
Cross-platform critical section