Skip to content

[pull] main from VirusTotal:main#156

Merged
pull[bot] merged 17 commits into
threatcode:mainfrom
VirusTotal:main
Mar 3, 2026
Merged

[pull] main from VirusTotal:main#156
pull[bot] merged 17 commits into
threatcode:mainfrom
VirusTotal:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

plusvic added 17 commits March 3, 2026 11:41
This is in preparation for switching to the 2024 edition.
Instead of using a mutable global array that is computed the first time it is used, compute the array at compile time.
…ion for Rust 2024.

Rust 2024 requires that you specify the generic parameters that are captured by the hidden type represented by `impl Trait`.

https://doc.rust-lang.org/std/keyword.use.html#precise-capturing
In Rust 2024 marking a function as `unsafe` only indicates that this function must be used within an unsafe block, but doesn't allow the function itself to call unsafe function without explicitly using an unsafe block.
…e` blocks.

In the C API everything is unsafe, we don't want to explicitly mark unsafe calls as unsafe.
This module was used only for demonstration purposes and disabled by default.
Also start using resolver 3, which is the default in the 2024 edition.
Formatting changes slightly in Rust 2024.
With the change to edition 2024 clippy finds a bunch of new warnings. Most of them are related to chained `if let` statements.
@pull pull Bot locked and limited conversation to collaborators Mar 3, 2026
@pull pull Bot added the ⤵️ pull label Mar 3, 2026
@pull pull Bot merged commit b024c80 into threatcode:main Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant