memory_x_tools 0.1.0

Helpers for copying memory.x and related build assets from build scripts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# memory_x_tools

Helpers for copying `memory.x` and related linker assets from `build.rs` scripts.

## Example

```rust,no_run
use memory_x_tools::copy_memory_x;

fn main() {
    copy_memory_x().expect("failed to copy memory.x");
}
```

`copy_memory_x` copies `memory.x` into Cargo's output directory, adds that directory to the linker search path, and marks `memory.x` as a rebuild trigger.