this post was submitted on 23 Nov 2024
18 points (100.0% liked)
Rust Programming
8188 readers
40 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Rust is very different to Python and Cargo is very different to apt.
When you build your rust/Cargo project it compiles all the dependencies specified in Cargo.toml into a single executable.
That executable (with some exceptions) can then be run without any dependencies. You don't even need Rust or cargo installed. Therefore the Rust running in the kernel is entirely isolated from whatever your Rust app is doing.
There's no need for virtual environments etc