fix(rust)[1]

This commit is contained in:
Jacob Heider 2023-04-20 14:21:50 -04:00
parent 4167b191ed
commit 3841271582
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -51,7 +51,7 @@ build:
# 1.68.0 introduced a regression w.r.t. CI builds # 1.68.0 introduced a regression w.r.t. CI builds
# https://github.com/rust-lang/rust/issues/108959 # https://github.com/rust-lang/rust/issues/108959
if semverator satisfies '>=1.68<1.70' {{ version }}; then if semverator satisfies '>=1.68<1.70' {{ version }}; then
sed -i.bak -e 's/if CiEnv::is_ci() {/if CiEnv::is_ci() \&\& config.rust_info.is_managed_git_subrepository() {/' src/bootstrap/native.rs sed -i.bak -e 's/CiEnv::is_ci()/CiEnv::is_ci() \&\& config.rust_info.is_managed_git_subrepository()/' src/bootstrap/native.rs
rm src/bootstrap/native.rs.bak rm src/bootstrap/native.rs.bak
fi fi