Actions
Bug #7652
closedrust: warnings with rustc 1.86
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)
Updated by Jason Ish 8 months ago
- Status changed from In Progress to In Review
PR for review: https://github.com/OISF/suricata/pull/12999
Updated by Philippe Antoine 6 months ago
- Status changed from In Review to Closed
Actions