Skip to content

Commit 91d157a

Browse files
committed
bump autocfg to fix no_std probing
1 parent 98c3900 commit 91d157a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ script:
1414
- ./ci/test_full.sh
1515
matrix:
1616
include:
17+
# try a target that doesn't have std at all
18+
- name: "no_std"
19+
rust: stable
20+
env: TARGET=thumbv6m-none-eabi
21+
before_script:
22+
- rustup target add $TARGET
23+
script:
24+
- cargo build --verbose --target $TARGET --no-default-features --features i128
1725
- name: "rustfmt"
1826
rust: 1.31.0
1927
before_script:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ i128 = ["num-traits/i128"]
2626
std = ["num-traits/std"]
2727

2828
[build-dependencies]
29-
autocfg = "0.1.2"
29+
autocfg = "0.1.3"

0 commit comments

Comments
 (0)