rust-legacy-fork
rust-legacy-fork copied to clipboard
[deprecated; merged upstream] A fork of the Rust programming language with AVR support
This is very similar to #129 and may well be the same bug/root cause or not. I'll get a reduced test case later. This swift code... ```` SetupSerial(baudRate: 9600) func...
I would ike to get a better description for the issue. This came from a classic "Heisenbug" reported by one of the users of S4A. A variable inside a loop...
This is with my [recently-rebased branch](https://github.com/shepmaster/rust/tree/avr-support-rust-2018-04-24-190a6c) based on upstream Rust 190a6c. I've added the patch from #99 locally. ### Case 1 ```llvm ; ModuleID = 'bugpoint-reduced-simplified.bc' source_filename = "bugpoint-output-b213db3.bc" target...
One problem I've run into (see https://github.com/avr-rust/rust/issues/47) is that Rust sometimes generates static lookup tables from code, then the generated AVR assembly tries accessing that data using `ld`. Of course,...
This piece of IR crashes `llc-8` on my laptop. In fact, the first time it managed to crash my whole system, as I didn't notice the memory growing very rapidly....
error: Error loading target specification: Could not find specification for target "avr-atmega328p"
the shell I am using is `fish, version 3.0.1`, the directory I installed avr-rust is `$HOME/.avr-rust/`. versions of rustup and xargo are: ~~~ ➤ rustup -V rustup 1.16.0 ~~~ ~~~...
The input code here is a slight tweak of https://github.com/avr-rust/rust/issues/46, but the generated code is very different because it uses a lookup instead of bit-twiddling: Rust: ``` #[inline(never)] pub fn...
This issue is for discussion on upstreaming AVR support to upstream Rust. Things we need to do first - [x] Successfully compile the `libcore` library ([open issues](https://github.com/avr-rust/rust/issues?q=is%3Aissue+is%3Aopen+label%3AA-libcore)) - [ ]...
Set the default target to `avr-unknown-unknown` so that by default we attempt to build for AVR. Currently this is blocked by not being able to compile `compiler-rt` and `libcore` and...
I've been struggling for a couple days now on why my CHIP-8 firmware doesn't work anymore, even when downgrading to the exact same rustc/llvm versions as before. Then I found...