Project

General

Profile

Actions

Task #4163

closed
VJ JI

rust: set new minimum Rust version for 7

Task #4163: rust: set new minimum Rust version for 7

Added by Victor Julien over 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

OS/Distribution Version Rust Version Supported Notes
AlmaLinux 8 1.66.1 Yes
AlmaLinux 9 1.66.1 Yes
CentOS 7 1.70.0 Yes Requires EPEL (yum install epel-release)
CentOS 8 1.52.1 No EOL
CentOS Stream 8 1.66.1 Yes
CentOS Stream 9 1.66.1 Yes
Debian 9 1.41.1 No EOL
Debian 10 1.41.1 No Must use rustup. Note: Debian's package needs checking, see #4204. In Debian LTS state until 2024.
Debian 11 1.48.0 No Must use rustup.
Debian 12 1.63.0 ???
Fedora 36+ 1.67.1 Yes
Ubuntu 18.04 1.65.0 No
Ubuntu 20.04 1.65.0 Yes
Ubuntu 22.04 1.65.0 Yes
FreeBSD 12.3 1.61.1 Yes EOL March 2023
FreeBSD 12.4 1.68.2 Yes pkg install rust cargo
FreeBSD 13.2 1.68.2 Yes pkg install rustc cargo
OpenBSD 7.0 1.55.0 No EOL
OpenBSD 7.1 1.59.0 No EOL May 2023
OpenBSD 7.2 1.63.0 Yes
OpenBSD 7.3 1.68.0 Yes
MinGW ?? 1.67.1 ?? Can be installed through pacman

Related issues 4 (0 open4 closed)

Related to Suricata - Task #4165: rust: nom 7ClosedActions
Related to Suricata - Task #2629: tracking: Rust 2018 editionClosedJason IshActions
Related to Suricata - Task #4902: rust: bump MSRV to 1.41.1ClosedShivani BhardwajActions
Copied to Suricata - Task #6573: rust: set new minimum Rust version for Suricata 8ClosedJason IshActions

VJ Updated by Victor Julien over 5 years ago Actions #1

We can probably set the minimum version to 1.41.1 in the 7 branch, and closer to the 7beta1 release revisit this.

VJ Updated by Victor Julien over 5 years ago Actions #2

VJ Updated by Victor Julien over 5 years ago Actions #3

  • Status changed from New to In Progress

MSRV for master branch is now 1.41.1. https://github.com/OISF/suricata/commit/37eff69a37c506cf044195340fccb15dff395729

Keeping this ticket open so we can revisit closer to release.

VJ Updated by Victor Julien over 5 years ago Actions #4

  • Description updated (diff)

JI Updated by Jason Ish almost 5 years ago Actions #5

  • Description updated (diff)

VJ Updated by Victor Julien over 4 years ago Actions #6

  • Description updated (diff)

Updated the table. I think we can at least set a minimum of 1.48, as this is what Debian stable uses.

VJ Updated by Victor Julien over 4 years ago Actions #7

  • Related to Task #2629: tracking: Rust 2018 edition added

VJ Updated by Victor Julien over 4 years ago Actions #8

  • Description updated (diff)

VJ Updated by Victor Julien over 4 years ago Actions #9

  • Related to Task #4902: rust: bump MSRV to 1.41.1 added

JI Updated by Jason Ish over 4 years ago Actions #10

Victor Julien wrote in #note-6:

Updated the table. I think we can at least set a minimum of 1.48, as this is what Debian stable uses.

I'm still getting 1.41.1 on Debian 10, but I guess thats oldstable. It still has an EOL of August 2022 though.

VJ Updated by Victor Julien about 4 years ago Actions #11

  • Description updated (diff)

VJ Updated by Victor Julien about 4 years ago Actions #12

  • Description updated (diff)

VJ Updated by Victor Julien about 4 years ago Actions #13

  • Description updated (diff)

VJ Updated by Victor Julien over 3 years ago Actions #14

  • Description updated (diff)

To test Centos Stream in docker:

8: docker run -it quay.io/centos/centos:stream8

9: docker run -it quay.io/centos/centos:stream9

VJ Updated by Victor Julien over 3 years ago Actions #15

  • Description updated (diff)

VJ Updated by Victor Julien over 3 years ago Actions #16

  • Description updated (diff)

VJ Updated by Victor Julien over 3 years ago Actions #17

We're going with at least 1.58.1 for Suricata 7, which means that it can't be packaged for Debian 11, but that is not a big issue as it wouldn't have been anyway. Debian doesn't upgrade major versions in their stable branches. For Debian stable users that want to build Suricata 7 from source there is rustup.

VJ Updated by Victor Julien over 3 years ago Actions #18

  • Status changed from In Progress to In Review

VJ Updated by Victor Julien over 3 years ago Actions #19

  • Target version changed from 7.0.0-beta1 to 8.0.0-beta1

JI Updated by Jason Ish about 3 years ago Actions #20

  • Description updated (diff)

JI Updated by Jason Ish about 3 years ago Actions #21

  • Description updated (diff)

JI Updated by Jason Ish about 3 years ago Actions #22

  • Description updated (diff)

JI Updated by Jason Ish about 3 years ago Actions #23

  • Description updated (diff)

VJ Updated by Victor Julien about 3 years ago Actions #24

  • Description updated (diff)

VJ Updated by Victor Julien about 3 years ago Actions #25

  • Target version changed from 8.0.0-beta1 to 7.0.0

VJ Updated by Victor Julien about 3 years ago Actions #26

  • Description updated (diff)

VJ Updated by Victor Julien about 3 years ago Actions #27

With OpenBSD 7.1 out, we can bump to 1.62.1 (AlmaLinux 8)

JF Updated by Juliana Fajardini Reichow almost 3 years ago Actions #28

  • Assignee changed from OISF Dev to Jason Ish

VJ Updated by Victor Julien almost 3 years ago Actions #29

  • Priority changed from Normal to High

VJ Updated by Victor Julien almost 3 years ago Actions #30

  • Description updated (diff)

I've added Debian 12. It's at 1.63, so we'll need to decide if this will be our MSRV or that we ignore it. Debian in the past has not kept up to date, so it's likely to fall behind quickly.

JI Updated by Jason Ish almost 3 years ago Actions #31

  • Description updated (diff)

VJ Updated by Victor Julien almost 3 years ago Actions #32

Going with 1.63.

VJ Updated by Victor Julien almost 3 years ago Actions #33

  • Status changed from In Review to Closed

JI Updated by Jason Ish over 2 years ago Actions #34

  • Copied to Task #6573: rust: set new minimum Rust version for Suricata 8 added
Actions

Also available in: PDF Atom