Oh please don't add fucking cargo as a kernel dependency. Rust, ok if it helps, but cargo is literally the definition of distro-unfriendly software.
Announcement
Collapse
No announcement yet.
Latest Patches Sent Out For Adding Rust Support To The Linux Kernel
Collapse
X
-
Originally posted by ssokolow View Post
Let me guess. They're following Firefox's lead in abusing the environment variable for building rustc itself which grants stable/beta-channel access to unstable language features which are only supposed to be accessible on nightly channel.
- Likes 1
Comment
-
Originally posted by 9Strike View PostOh please don't add fucking cargo as a kernel dependency. Rust, ok if it helps, but cargo is literally the definition of distro-unfriendly software.
As far as I have seen, cargo works very well for a purely Rust project. If that doesn't work for you, you can always work with rustc directly.
- Likes 9
Comment
-
Originally posted by 9Strike View PostOh please don't add fucking cargo as a kernel dependency. Rust, ok if it helps, but cargo is literally the definition of distro-unfriendly software.
- Likes 9
Comment
-
Originally posted by jacob View PostI think most people would consider improved security and stability more important than -O3
Or even more shocking, Firefox has about 20% of its native code in Rust, yet the share of memory-related CVEs (percentage-wise) is basically still the same as in any other non-Rust project (about 70%).
Sources:
The mission of the CVE® Program is to identify, define, and catalog publicly disclosed cybersecurity vulnerabilities.
https://www.openhub.net/p/firefox/an...guages_summary
https://www.cvedetails.com/product/3...?vendor_id=452Last edited by ultimA; 05 July 2021, 04:09 AM.
- Likes 5
Comment
-
Originally posted by ultimA View PostOr even more shocking, Firefox has about 20% of its native code in Rust, yet the share of memory-related CVEs (percentage-wise) is basically still the same as in any other non-Rust project (about 70%).Last edited by oleid; 05 July 2021, 04:21 AM.
- Likes 9
Comment
-
Originally posted by oleid View PostWell, Firefox only being 20% rust is part of the problem. Many CVEs in firefox are about dealing with C interfaces in a safe way.
- Likes 2
Comment
Comment