Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVR Rust Build Container

This container contains the dependencies and the source code of the AVR Rust fork. It provides a relable environment in which the fork can be consistently compiled. This process takes up a lot of memory, so if you're not on Linux natively, you'll need to change your Docker settings to allocate more memory (8GB should work).

Recommended usage:

$ mkdir -p build && docker run --mount "type=bind,src=$PWD/build,dst=/rust/build" jonahbron/avr-rust-builder

This will create a build directory, and compile Rust within that directory. Once it's done, you can link the toolchain to rustup like so:

$ rustup toolchain link avr $PWD/build/x86_64-unknown-linux-gnu/stage2

Once that's done, you can use the AVR just like any other toolchain. Example:

$ rustup run avr rustc

About

Docker container that can build the AVR fork of Rust

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages