forked from M-Labs/artiq-zynq
pca006132
4457af7277
Fixes issue #42. Previously there was no fix for the variable alignment. We calculate the position of the variable based on the size of the previous variable, so we could break the alignment requirement for variables. For example, having a `i64` after `bool` could break the alignment required for `i64` and trigger DataAbort or data corruption. However, this requires the same data layout and LLVM type for the variables. If this cannot be maintained, this would break the alignment on the other side of the RPC, either from host to kernel or kernel to host. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml | ||
link.x |