Re: [rust-dev] [PATCH] Add stack overflow check for ARM Thumb instruction set.

2014-02-16 Thread Svetoslav Neykov
1:16 AM To: Svetoslav Neykov Cc: rust-dev@mozilla.org Subject: Re: [rust-dev] [PATCH] Add stack overflow check for ARM Thumb instruction set. For LLVM patches, we prefer if you have first attempted to upstream the patch with LLVM before we push it to our local fork. This normally entails emailing the ll

[rust-dev] [PATCH] Add stack overflow check for ARM Thumb instruction set.

2014-02-15 Thread Svetoslav Neykov
Hi, I am working on getting Rust to directly compile code for bare metal ARM devices working in Thumb mode. I created a patch for LLVM to emit the appropriate function prologue. Since I couldn't find instructions on how to submit the change for review and inclusion in the Rust's copy of LLVM I a

Re: [rust-dev] Rust on bare metal ARM - sample project

2013-07-17 Thread Svetoslav Neykov
On Tue, 16 Jul 2013 13:08:24 -0500 Thomas Daede wrote: >This is really exciting! I'm actually working on something very >similar, but didn't get nearly as far as you - I made a post about it >on the mailing list a month back: >https://mail.mozilla.org/pipermail/rust-dev/2013-June/004538.html > >I

Re: [rust-dev] Rust on bare metal ARM - sample project

2013-07-16 Thread Svetoslav Neykov
On 15.07. 13 23:37, Patrick Walton wrote: >On 7/14/13 1:04 PM, Svetoslav Neykov wrote: >> ."unsafe" is not a normal block and doesn't return a value, can't be >> used as an expression. This made it impossible to wrap the unsafe casts >> from fixed

[rust-dev] Rust on bare metal ARM - sample project

2013-07-15 Thread Svetoslav Neykov
Hello, My interest in Rust is from the point of view of an embedded microcontrollers running bare metal programs with no underlying OS. I decided to explore what the language offers in that space by creating an actual running program. For the target I used STM32F4Discovery board since it has an AR