Update Rustc package

6 respostas [Última entrada]
Tree_brock
Desconectado
Joined: 03/27/2024

The version of rust in the repos is from 2022. I am trying to compile a app, but it needs a newer version of rust. Does anyone know when rust will be updated on trisquel.

andyprough
Desconectado
Joined: 02/12/2015

Can't you just run 'rustup' or whatever the rust-self-updating command is?

I mean, aside from the fact that Rust is evil...

CustardPie
Desconectado
Joined: 01/23/2023

Hello!

Kinda curious, what do you mean that "Rust is evil", is it the compilation times of it that are evil?

andyprough
Desconectado
Joined: 02/12/2015

It's not actually evil, but I do hate compiling it, compilation times are absurdly slow and resource intensive.

However, if you want to know why "Rust Absolutely Positively Sucks", there's a video for you: https://piped.kavin.rocks/watch?v=BB-H5ivmdwQ

jxself
Desconectado
Joined: 09/13/2010

Probably with Trisquel 12. Like most of the popular GNU/Linux distros, packages are generally frozen on release for stability. But yeah like Andy says, I thought the Rust people provide a way to get a newer version on their own, independent from the distro...

Magic Banana

I am a member!

I am a translator!

Conectado
Joined: 07/24/2010

That shell script: https://sh.rustup.rs

Ark74

I am a member!

I am a translator!

Desconectado
Joined: 07/15/2009

Aramo's version (1.75) comes from early 2024 or late 2023 according to: https://releases.rs/docs/1.75.0/
1.75.0 #
Released on: 28 December, 2023
Branched from master on: 10 November, 2023

---
Trisquel changelog:
2024
rustc (1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04) jammy; urgency=medium
* Backport to Jammy (LP: #2047858)
- d/p/ubuntu-backport-disable-newer-tests.patch: add a patch to disable
newer tests that can't pass on older Ubuntu series
- d/p/ubuntu-jammy-skip-gdb-tests-on-armhf.patch: add a patch to
disable gdb tests on armhf
- Re-enable libgit2 vendoring:
- d/control: remove libgit2-dev and libhttp-parser-dev from B-D
- Re-enable LLVM vendoring (LLVM 17)

rustc usually gets updated when upstream firefox requires a newer toolset to be able to build, in the meantime, rustc stay still.

Regards.