34
The things people do to sabotage free software
(thelemmy.club)
Post funny things about programming here! (Or just rant about your favourite programming language.)
I'm not that well versed in rust, is this literally just wrapping the C library in rust, and calling it a rust implementation of it?
Yes. Unsafely.
No, it is not rust implementation if the library (not does it call itself that). It is a rust implementation of one of core utility programs. Here is the code it reimplements, it is similarly short, and hopefully dispels the confusion - https://github.com/coreutils/coreutils/blob/165b62de8083ed9dec9ef4e1699ed44c3c7a2b91/src/logname.c