- Joined
- Jun 30, 2024
That's what the joke is: it's a bare-minimum wrapper and not actually a genuine Rust port. If it were a fully-fledged port, it wouldn't be able to boast, on a strictly technical/pedantic level, key features like "Blazingly Fast™ file removal capabilities" or "No unsafe code blocks!"This meme's code is so damn weak:
fn main() { let args: Vec<String> = env::args().skip(1).collect(); Command::new("rm").args(args).spawn().unwrap(); }
If you're going to make a joke about rm in Rust, at least actually implement rm in Rust (or at least the basics without any of the advanced switches). Don't just call actual rm. It would have been way funnier (C+= actually did translate/compile their fake language).