Skip to content

Commit

Permalink
Fix Xargo LTO (#17)
Browse files Browse the repository at this point in the history
* Work around japaric/xargo#292
  • Loading branch information
johnthagen authored Jun 14, 2020
1 parent 1c13bc6 commit 33f40ff
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ matrix:
rust: stable
- os: windows
rust: stable
- os: linux
rust: stable
env: CI_BUILD_TYPE="no_std"
- os: linux
rust: nightly
env: CI_BUILD_TYPE="xargo"
Expand Down
3 changes: 3 additions & 0 deletions no_main/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
# This is needed to work around: https://github.com/japaric/xargo/issues/292
rustflags = ["-Cembed-bitcode=yes"]
3 changes: 3 additions & 0 deletions no_std/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
# This is needed to work around: https://github.com/japaric/xargo/issues/292
rustflags = ["-Cembed-bitcode=yes"]
3 changes: 3 additions & 0 deletions panic_immediate_abort/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
# This is needed to work around: https://github.com/japaric/xargo/issues/292
rustflags = ["-Cembed-bitcode=yes"]
3 changes: 3 additions & 0 deletions xargo/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
# This is needed to work around: https://github.com/japaric/xargo/issues/292
rustflags = ["-Cembed-bitcode=yes"]

0 comments on commit 33f40ff

Please sign in to comment.