Rustaceans at the border
Rustaceans at the border
Posted Apr 14, 2022 19:59 UTC (Thu) by mb (subscriber, #50428)In reply to: Rustaceans at the border by Gaelan
Parent article: Rustaceans at the border
Should we depend our kernel build on external sources such as crates.io?
Yes, we should allow no_std crates to be used from kernel code.
(after careful review for things like floating point, etc..)
But how should we integrate the crate?
Should we only declare the version in the kernel's Cargo.toml and fetch the latest compatible SemVer at kernel build time? That would result in kernels with the same version having different content.
Should we pin a specific version via Cargo.lock or similar?
Should we copy the crate into the kernel tree to be independent of crates.io?
