Dylan McKay

Results 142 comments of Dylan McKay

> Read-only filesystem That makes sense - crate currently generates `.rs` files for the MCU cores in the `build.rs` script ) (https://github.com/avr-rust/avrd/blob/3e75477d29568e539b13e8c17dea2f2658044eef/build.rs#L29). It is discouraged to generate sources at runtime....

Could be cool to have a separate repository of all JSON files that can easily be embedded as a submodule. Hopefully `xargo` supports target specifications that aren't in the repository...

I am not sure, first I've heard of it. I basically stumbled upon http://packs.download.atmel.com/ and figured out the file structure empirically, the dataset is pretty big. It's probably around the...

This is strange - there shouldn't be any AVR-specific directory muckery going on, and by the looks of those PRs linked in #40108, all the fixes landed in April, with...

Perhaps similar to https://github.com/rust-lang/rust/issues/58500

@peacememories would you please be able to attach an LLVM IR file so I can reproduce this?

> I think I know whats going on. The AVR couldn't handle returning structs like this at all (see #57). It only expects to ever return an iXX and only...

In the past to fix calling convention issues like this, I've taken a C file and compared it side-by-side with LLVM/GCC compiled code. I've found that this is the best...

Great work! I will review the patch in the next few days.

The [current patch](https://gist.github.com/brainlag/bfb4840a12b74b60557f34ed33aa9481) causes a few test failures. I fixed the ones in `add.ll` and `sub.ll` in [this patch](https://github.com/avr-rust/llvm/commit/0fc5604ca9297a18c0db9bfb0e6b77297e9c688e.patch). Two other tests are failing. The tests are failing because registers...