Skip to content

Commit 33f40ff

Browse files
authored
Fix Xargo LTO (#17)
* Work around japaric/xargo#292
1 parent 1c13bc6 commit 33f40ff

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ matrix:
1010
rust: stable
1111
- os: windows
1212
rust: stable
13-
- os: linux
14-
rust: stable
15-
env: CI_BUILD_TYPE="no_std"
1613
- os: linux
1714
rust: nightly
1815
env: CI_BUILD_TYPE="xargo"

no_main/.cargo/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build]
2+
# This is needed to work around: https://github.com/japaric/xargo/issues/292
3+
rustflags = ["-Cembed-bitcode=yes"]

no_std/.cargo/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build]
2+
# This is needed to work around: https://github.com/japaric/xargo/issues/292
3+
rustflags = ["-Cembed-bitcode=yes"]

panic_immediate_abort/.cargo/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build]
2+
# This is needed to work around: https://github.com/japaric/xargo/issues/292
3+
rustflags = ["-Cembed-bitcode=yes"]

xargo/.cargo/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build]
2+
# This is needed to work around: https://github.com/japaric/xargo/issues/292
3+
rustflags = ["-Cembed-bitcode=yes"]

0 commit comments

Comments
 (0)