192adba794ea76ea27971935f05140e309b9cd3a
				
			
			
		
	Template for ev3dev-lang-rust
This is a template for creating and building projects with ev3dev-lang-rust. It contains all the necessary files to cross compile the "Hello World" example for ev3dev platform.
Dependencies
cargodockermake(optional)
Setup
Install the armv5te-musl toolchain
rustup target add armv5te-unknown-linux-musleabi
Usage
Build this project:
cargo build --release
The resulting binary can be found at ./target/armv5te-unknown-linux-musleabi/release/<ARTIFACT>.
Optionally strip the executable to reduce binary size:
make strip
# or
docker run --rm -v $(PWD):/build -w /build pixix4/ev3dev-rust:latest arm-linux-gnueabi-strip /build/target/armv5te-unknown-linux-musleabi/release/<ARTIFACT>
Description
				
					Languages
				
				
								
								
									Rust
								
								97.8%
							
						
							
								
								
									Makefile
								
								1.9%
							
						
							
								
								
									Shell
								
								0.3%