test the thumbv7em-none-eabihf target

This commit is contained in:
Jorge Aparicio 2016-09-22 06:15:05 -05:00
parent 9d74cf08b8
commit 0404438809
3 changed files with 12 additions and 1 deletions

View File

@ -34,6 +34,8 @@ matrix:
os: linux os: linux
- env: TARGET=thumbv7em-none-eabi - env: TARGET=thumbv7em-none-eabi
os: linux os: linux
- env: TARGET=thumbv7em-none-eabihf
os: linux
- env: TARGET=thumbv7m-none-eabi - env: TARGET=thumbv7m-none-eabi
os: linux os: linux
- env: TARGET=x86_64-apple-darwin - env: TARGET=x86_64-apple-darwin

View File

@ -32,7 +32,7 @@ if [[ $TARGET != $HOST && ! $TARGET =~ ^i.86- ]]; then
# `int main() { return 0; }` # `int main() { return 0; }`
RUN_TESTS=n RUN_TESTS=n
;; ;;
thumbv*-none-eabi) thumbv*-none-eabi*)
CARGO=xargo CARGO=xargo
GCC_TRIPLE=arm-none-eabi GCC_TRIPLE=arm-none-eabi
# Bare metal targets. No `std` or `test` crates for these targets. # Bare metal targets. No `std` or `test` crates for these targets.

View File

@ -0,0 +1,9 @@
{
"arch": "arm",
"data-layout": "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64",
"features": "+vfp4",
"llvm-target": "thumbv7em-none-eabihf",
"os": "none",
"target-endian": "little",
"target-pointer-width": "32"
}