Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jonahbron/avr-rust-builder

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.