Merge pull request #261 from paoloteti/fix-travis-ci

Attempt to fix TravisCI
This commit is contained in:
Alex Crichton 2018-09-14 09:17:36 -07:00 committed by GitHub
commit a50c848a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@ matrix:
- env: TARGET=arm-unknown-linux-gnueabihf - env: TARGET=arm-unknown-linux-gnueabihf
- env: TARGET=armv7-unknown-linux-gnueabihf - env: TARGET=armv7-unknown-linux-gnueabihf
- env: TARGET=i586-unknown-linux-gnu - env: TARGET=i586-unknown-linux-gnu
- env: TARGET=i686-apple-darwin - env: TARGET=i686-apple-darwin DEBUG_LTO_BUILD_DOESNT_WORK=1
os: osx os: osx
- env: TARGET=i686-unknown-linux-gnu - env: TARGET=i686-unknown-linux-gnu
- env: TARGET=mips-unknown-linux-gnu - env: TARGET=mips-unknown-linux-gnu
@ -28,7 +28,7 @@ matrix:
- env: TARGET=wasm32-unknown-unknown - env: TARGET=wasm32-unknown-unknown
install: rustup target add $TARGET install: rustup target add $TARGET
script: cargo build --target $TARGET script: cargo build --target $TARGET
- env: TARGET=x86_64-apple-darwin - env: TARGET=x86_64-apple-darwin DEBUG_LTO_BUILD_DOESNT_WORK=1
os: osx os: osx
- env: TARGET=x86_64-unknown-linux-gnu - env: TARGET=x86_64-unknown-linux-gnu
allow_failures: allow_failures:

View File

@ -1,6 +1,6 @@
// Hack of a crate until rust-lang/rust#51647 is fixed // Hack of a crate until rust-lang/rust#51647 is fixed
#![feature(no_core, panic_handler)] #![feature(no_core)]
#![no_core] #![no_core]
extern crate core; extern crate core;

View File

@ -11,7 +11,6 @@
#![feature(lang_items)] #![feature(lang_items)]
#![feature(start)] #![feature(start)]
#![feature(allocator_api)] #![feature(allocator_api)]
#![feature(panic_handler)]
#![cfg_attr(windows, feature(panic_unwind))] #![cfg_attr(windows, feature(panic_unwind))]
#![no_std] #![no_std]