]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38726 - japaric:sparc64, r=sanxiyn
authorbors <bors@rust-lang.org>
Sun, 1 Jan 2017 09:56:18 +0000 (09:56 +0000)
committerbors <bors@rust-lang.org>
Sun, 1 Jan 2017 09:56:18 +0000 (09:56 +0000)
commite1279a0b30a6a36822ecf7c7cc683953e1239745
tree39c4f3349ee7128c7d9e546b1a93eb05326fa913
parente227433dc39ab13aa2368814169c049b8f876825
parentb14785d3d0e3093983f6d6e266b754e1b536da10
Auto merge of #38726 - japaric:sparc64, r=sanxiyn

sparc64-linux support

This is built on top of #38656 and depends on rust-lang/libc#483

Hello world works.

The libc-test test suite passes.

`panic!` doesn't fully work:

```
$ qemu-sparc64-static ./panic
thread 'main' panicked at 'explicit panic', panic.rs:1
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Illegal instruction (core dumped)
```

Backtraces don't work either, probably related to the previous point:

```
$ export RUST_BACKTRACE=1
$ qemu-sparc64-static ./panic
thread 'main' panicked at 'explicit panic', panic.rs:1
stack backtrace:
Illegal instruction (core dumped)
```

r? @alexcrichton

@jakllsch Does panicking / backtraces work on sparc64-netbsd?

cc @glaubitz