mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-24 02:49:34 +01:00
Remove compilation optimisations on 1.36.0
This commit is contained in:
parent
0b3cc87f2d
commit
29f354020e
1 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,12 @@ main() {
|
|||
|
||||
mkdir -p ci/builds
|
||||
|
||||
# Current MSRV cannot handle profiles, remove compilation optimisations
|
||||
if [[ $TRAVIS_RUST_VERSION == 1.*.* ]]; then
|
||||
echo "Removing optimisation profiles"
|
||||
sed -i '/^\[profile.*build-override]$/,/^$/{/^#/!{/^$/!d}}' Cargo.toml
|
||||
fi
|
||||
|
||||
if [ $T = x86_64-unknown-linux-gnu ]; then
|
||||
if [[ $TRAVIS_RUST_VERSION == 1.*.* ]]; then
|
||||
# test on a fixed version (MSRV) to avoid problems with changes in rustc diagnostics
|
||||
|
|
Loading…
Reference in a new issue