.gitlab-ci.yml: Install Rust and cargo
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Mon, 3 May 2021 20:33:12 +0000 (22:33 +0200)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 19:18:22 +0000 (20:18 +0100)
commite9cceca33a2e42dbe5c8a773c8f69459a0203085
tree4986d230923da4e2f4434dc331ecf7fd5db85f32
parentffbe66666539ccf54add696ce8204da013b48940
.gitlab-ci.yml: Install Rust and cargo

Unfortunately, Rust 1.41 (as available in Debian 10) is too old for
object v0.23.0, a dependency of maturin:

error[E0658]: subslice patterns are unstable
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/read/mod.rs:162:41
    |
162 |             [0x7f, b'E', b'L', b'F', 1, ..] => FileKind::Elf32,
    |                                         ^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/62254

... so we have to resort to rustup.
.gitlab-ci.yml