Skip to content

Commit

Permalink
[CI] Upgrade to rustc 1.45
Browse files Browse the repository at this point in the history
Remove -Zno-landing-pads flag, because it was removed in
rust-lang/rust#70175
Its replacement is panic=abort, which... we already use.
  • Loading branch information
glandium committed Jul 18, 2020
1 parent efbcedd commit eaacbbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions CI/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ def prefix(p, s):
'-Zprofile',
'-Ccodegen-units=1',
'-Cinline-threshold=0',
'-Zno-landing-pads',
])
# Build without --release
environ['CARGO_BUILD_FLAGS'] = ''
Expand Down Expand Up @@ -364,9 +363,9 @@ def prefix(p, s):
elif os == 'linux':
environ['CARGO_TARGET'] = 'x86_64-unknown-linux-gnu'
if variant in ('coverage', 'asan'):
rust_version = 'nightly-2020-03-12'
rust_version = 'nightly-2020-06-05'
else:
rust_version = '1.42.0'
rust_version = '1.45.0'
rust_install += [
'{rustup} install {rust_version} --profile minimal',
'PATH={cargo_dir}:$PATH',
Expand Down
2 changes: 1 addition & 1 deletion helper/helper.mk
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ compat/mingw.o: EXTRA_CPPFLAGS = -D'winansi_init()'=

# Bump when CI changes need a new helper build but the helper code itself
# hasn't changed.
DUMMY = 1
DUMMY = 2

0 comments on commit eaacbbe

Please sign in to comment.