about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-06 18:58:31 +0000
committerbors <bors@rust-lang.org>2018-11-06 18:58:31 +0000
commit15d770400eed9018f18bddf83dd65cb7789280a5 (patch)
treecd5359c448c6895ae8721c4d405c5b26af94a5a8 /src/ci/docker
parentbdfeace114d989f58614bbc255ac08306fbf18ef (diff)
parentf87230362355e40bd5e9b359d12098562478fa13 (diff)
downloadrust-15d770400eed9018f18bddf83dd65cb7789280a5.tar.gz
rust-15d770400eed9018f18bddf83dd65cb7789280a5.zip
Auto merge of #53996 - sekineh:thumb-run, r=japaric
[CI] Run a `thumbv7m-none-eabi` binary using `qemu-system-arm` [IRR-2018-embedded]

## What's included?

- Run a `thumbv7m-none-eabi` binary using `qemu-system-arm`
- We are using `cortex-m-rt = "=0.5.4"` which does not use `proc_macro`.
(reason: stage2 build of rustc does not work well with `proc_macro` in `run-make` phase.)
- We are using GNU LD for now.

## Blocker

All resolved.
- ~[Waiting] `#[panic_handler]` is not available in stable.~
  - [Merged] https://github.com/rust-lang/rust/pull/53619
- ~[Waiting] https://github.com/japaric/lm3s6965evb: does not compile on stable.~
  - [OK] dependent crate ~`panic-abort`~ `panic-halt`: already moved to use `#[panic_handler]`.

## Update

`#[panic_handler]` will be stabilized in Rust 1.30.

CC @kennytm @jamesmunns @nerdyvaishali
Diffstat (limited to 'src/ci/docker')
-rw-r--r--src/ci/docker/dist-various-1/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ci/docker/dist-various-1/Dockerfile b/src/ci/docker/dist-various-1/Dockerfile
index e2484b7224b..c7e6af28f9d 100644
--- a/src/ci/docker/dist-various-1/Dockerfile
+++ b/src/ci/docker/dist-various-1/Dockerfile
@@ -22,7 +22,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
   libssl-dev \
   pkg-config \
   gcc-arm-none-eabi \
-  libnewlib-arm-none-eabi
+  libnewlib-arm-none-eabi \
+  qemu-system-arm
 
 WORKDIR /build