Skip to content

fix arm stack alignment - #6667

Closed
crabtw wants to merge 1 commit into
rust-lang:incomingfrom
crabtw:arm-rt
Closed

fix arm stack alignment#6667
crabtw wants to merge 1 commit into
rust-lang:incomingfrom
crabtw:arm-rt

Conversation

@crabtw

Copy link
Copy Markdown
Contributor

This fixes segmentation fault of new rt tests.
For example

use core::rt::test::*;
use core::rt::comm::*;
use core::cell::Cell;
fn main() {
do run_in_newsched_task {
let (port, chan) = oneshot::<~int>();
let port_cell = Cell(port);
do spawntask_immediately {
assert!(port_cell.take().recv() == ~10);
}
chan.send(~10);
}
}

@brson

Copy link
Copy Markdown
Contributor

Thanks!

bors added a commit that referenced this pull request May 22, 2013
This fixes segmentation fault of new rt tests.
For example
```
use core::rt::test::*;
use core::rt::comm::*;
use core::cell::Cell;
fn main() {
do run_in_newsched_task {
let (port, chan) = oneshot::<~int>();
let port_cell = Cell(port);
do spawntask_immediately {
assert!(port_cell.take().recv() == ~10);
}
chan.send(~10);
}
}
```
@borsbors closed this May 22, 2013
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 3, 2021
Rustup
Pulling in AST changes
changelog: none
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6961: Document the version requirements for building from source r=lnicola a=lnicola
Fixesrust-lang#6667
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@crabtw@brson@bors