Skip to content

Commit b79ec56

Browse files
committed
aeabi
1 parent 7ecdc1b commit b79ec56

File tree

4 files changed

+717
-1
lines changed

4 files changed

+717
-1
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
#### 0.14.0
4+
5+
* **Break:** `copy_u32x8_unchecked` is an `extern "C"` fn now.
6+
* new cargo feature `aeabi_mem_fns` causes the appropriate functions to be
7+
generated. They're still written as `#[naked]` functions, so they require
8+
nightly. It turns out that rust has so many implicit memcpy calls that it did
9+
make a performance difference.
10+
311
#### 0.13.3
412

513
* Added `TextEntry::to_u16`

Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ default = ["track_caller", "on_gba"]
1111
track_caller = []
1212
on_gba = []
1313
fixed = ["dep:fixed"]
14+
# Provide the ARM AEABI memory functions, requires Nightly because they're
15+
# written as naked functions for efficiency. They're `no_mangle` and they're
16+
# placed in IWRAM.
17+
aeabi_mem_fns = []
1418

1519
[dependencies]
1620
voladdress = "1.3.0"

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#![no_std]
2+
#![cfg_attr(feature = "aeabi_mem_fns", feature(naked_functions))]
3+
#![allow(unused_mut)]
24
#![allow(unused_imports)]
35
#![allow(clippy::let_and_return)]
46
#![allow(clippy::result_unit_err)]

0 commit comments

Comments
 (0)