Project

General

Profile

Actions

Task #4163

closed

rust: set new minimum Rust version for 7

Added by Victor Julien over 3 years ago. Updated 8 months 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 (1 open3 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 8NewOISF DevActions
Actions #1

Updated by Victor Julien over 3 years ago

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

Actions #2

Updated by Victor Julien over 3 years ago

Actions #3

Updated by Victor Julien about 3 years ago

  • 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.

Actions #4

Updated by Victor Julien about 3 years ago

  • Description updated (diff)
Actions #5

Updated by Jason Ish almost 3 years ago

  • Description updated (diff)
Actions #6

Updated by Victor Julien over 2 years ago

  • 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.

Actions #7

Updated by Victor Julien over 2 years ago

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

Updated by Victor Julien over 2 years ago

  • Description updated (diff)
Actions #9

Updated by Victor Julien over 2 years ago

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

Updated by Jason Ish over 2 years ago

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.

Actions #11

Updated by Victor Julien about 2 years ago

  • Description updated (diff)
Actions #12

Updated by Victor Julien about 2 years ago

  • Description updated (diff)
Actions #13

Updated by Victor Julien almost 2 years ago

  • Description updated (diff)
Actions #14

Updated by Victor Julien over 1 year ago

  • 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

Actions #15

Updated by Victor Julien over 1 year ago

  • Description updated (diff)
Actions #16

Updated by Victor Julien over 1 year ago

  • Description updated (diff)
Actions #17

Updated by Victor Julien over 1 year ago

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.

Actions #18

Updated by Victor Julien over 1 year ago

  • Status changed from In Progress to In Review
Actions #19

Updated by Victor Julien over 1 year ago

  • Target version changed from 7.0.0-beta1 to 8.0.0-beta1
Actions #20

Updated by Jason Ish about 1 year ago

  • Description updated (diff)
Actions #21

Updated by Jason Ish about 1 year ago

  • Description updated (diff)
Actions #22

Updated by Jason Ish about 1 year ago

  • Description updated (diff)
Actions #23

Updated by Jason Ish about 1 year ago

  • Description updated (diff)
Actions #24

Updated by Victor Julien about 1 year ago

  • Description updated (diff)
Actions #25

Updated by Victor Julien about 1 year ago

  • Target version changed from 8.0.0-beta1 to 7.0.0
Actions #26

Updated by Victor Julien 11 months ago

  • Description updated (diff)
Actions #27

Updated by Victor Julien 11 months ago

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

Actions #28

Updated by Juliana Fajardini Reichow 10 months ago

  • Assignee changed from OISF Dev to Jason Ish
Actions #29

Updated by Victor Julien 10 months ago

  • Priority changed from Normal to High
Actions #30

Updated by Victor Julien 9 months ago

  • 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.

Actions #31

Updated by Jason Ish 9 months ago

  • Description updated (diff)
Actions #32

Updated by Victor Julien 9 months ago

Going with 1.63.

Actions #33

Updated by Victor Julien 8 months ago

  • Status changed from In Review to Closed
Actions #34

Updated by Jason Ish 4 months ago

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

Also available in: Atom PDF