Project

General

Profile

Actions

Bug #7652

closed
VJ JI

rust: warnings with rustc 1.86

Bug #7652: rust: warnings with rustc 1.86

Added by Victor Julien about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

warning: extern declarations without an explicit ABI are deprecated
   --> /home/victor/devel/suricata-7.0.x/rust/src/core.rs:132:1
    |
132 | extern {
    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
    |
    = note: `#[warn(missing_abi)]` on by default

warning: extern declarations without an explicit ABI are deprecated
   --> /home/victor/devel/suricata-7.0.x/rust/src/core.rs:227:33
    |
227 |     pub AppLayerRegisterParser: extern fn(parser: *const crate::applayer::RustParser, alproto: AppProto) -> std::os::raw::c_int,
    |                                 ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
   --> /home/victor/devel/suricata-7.0.x/rust/src/core.rs:237:1
    |
237 | extern {
    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
   --> /home/victor/devel/suricata-7.0.x/rust/src/core.rs:304:1
    |
304 | extern {
    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
  --> /home/victor/devel/suricata-7.0.x/rust/src/conf.rs:35:1
   |
35 | extern {
   | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
   --> /home/victor/devel/suricata-7.0.x/rust/src/applayer.rs:478:1
    |
478 | extern {
    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
   --> /home/victor/devel/suricata-7.0.x/rust/src/applayer.rs:490:1
    |
490 | extern {
    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
   --> /home/victor/devel/suricata-7.0.x/rust/src/applayer.rs:525:1
    |
525 | extern {
    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
  --> /home/victor/devel/suricata-7.0.x/rust/src/frames.rs:34:1
   |
34 | extern {
   | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
  --> /home/victor/devel/suricata-7.0.x/rust/src/filecontainer.rs:27:1
   |
27 | extern {
   | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: extern declarations without an explicit ABI are deprecated
  --> /home/victor/devel/suricata-7.0.x/rust/src/lua.rs:34:1
   |
34 | extern {
   | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

warning: `suricata` (lib) generated 11 warnings (run `cargo fix --lib -p suricata` to apply 11 suggestions)

JI Updated by Jason Ish about 1 year ago Actions #1

  • Status changed from New to In Progress
  • Assignee changed from OISF Dev to Jason Ish

JI Updated by Jason Ish about 1 year ago Actions #2

  • Status changed from In Progress to In Review

PA Updated by Philippe Antoine 11 months ago Actions #3

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom