Crates.io | arm |
lib.rs | arm |
version | 0.0.1 |
source | src |
created_at | 2017-12-12 21:14:50.787383 |
updated_at | 2017-12-12 21:14:50.787383 |
description | Low level abstraction of ARM architecture specific features. |
homepage | https://github.com/voyt/rust-arm |
repository | https://github.com/voyt/rust-arm |
max_upload_size | |
id | 42883 |
size | 4,541 |
Low level abstraction of ARM architecture specific features.
Note: for now this crate was checked only against ARMv7 targets.
Setup cross toolchains:
rustup install nightly
rustup default nightly
rustup target add armv7-unknown-linux-gnueabihf
cat >>~/.cargo/config <<EOF
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
EOF
You need to install arm-linux-gnueabihf-gcc
separately for cross-linking.
More details about cross-compiling: https://github.com/japaric/rust-cross
Build:
cargo build --target=armv7-unknown-linux-gnueabihf
cargo doc --open --target=armv7-unknown-linux-gnueabihf
The library is distributed under the terms of MIT license