From ca596172b67460e99e865cd25dfc30f39ae3a072 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 21 May 2019 18:09:33 -0700 Subject: [PATCH] bump autocfg to fix no_std probing --- .travis.yml | 8 ++++++++ Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7276fe4..1f9702d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,14 @@ script: - ./ci/test_full.sh matrix: include: + # try a target that doesn't have std at all + - name: "no_std" + rust: stable + env: TARGET=thumbv6m-none-eabi + before_script: + - rustup target add $TARGET + script: + - cargo build --verbose --target $TARGET --no-default-features --features i128,rand,serde - name: "rustfmt" rust: 1.31.0 before_script: diff --git a/Cargo.toml b/Cargo.toml index 72f62bd..6cfdfd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,4 +38,4 @@ i128 = ["num-traits/i128"] std = ["num-traits/std"] [build-dependencies] -autocfg = "0.1.2" +autocfg = "0.1.3"