mirror of https://github.com/m-labs/artiq.git
occheung
af263ffe1f
The reason of the borrow stuff is explained in M-Labs/artiq-zynq#76 (artiq-zyna repo). As for `cache_get()`, compiler will perform stack allocation to pre-allocate the returned structure, and pass to cache_get alongside the `key`. However, ksupport fails to recognize the passed memory, so it will always assume the passed memory as the key. |
||
---|---|---|
.. | ||
Cargo.toml | ||
Makefile | ||
api.rs | ||
build.rs | ||
eh_artiq.rs | ||
glue.c | ||
ksupport.ld | ||
lib.rs | ||
nrt_bus.rs | ||
rtio.rs |