Actions
Bug #7226
closedlua: use crate from crates.io instead of github to fix offline builds
Affected Versions:
Effort:
Difficulty:
Label:
Description
For offline builds to work with the vendored Rust crates, they must be from crates.io.
Updated by Jason Ish about 2 months ago
When we vendor Rust crates, the following .cargo/config.toml
is created:
[source] [source.crates-io] registry = 'https://github.com/rust-lang/crates.io-index' replace-with = 'vendored-sources' [source.vendored-sources] directory = '/home/jason/oisf/dev/suricata/master/rust/vendor'
This will tell Cargo to look for "crates.io" hosted crates in our local directory. When we git as a source for a crate it does not apply, and we'd need an entry just for that repo. So keep things simple, once we are ready to merge to master we should probably push to crates.io.
Updated by Jason Ish about 2 months ago
Actions