2 ms·
So you can change 2 settings to get the behavior you want? Sounds like they did a decent job anticipating that use case!
by maxerickson 5y ago
So you can change 2 settings to get the behavior you want?
Sounds like they did a decent job anticipating that use case!
- enriquto 5y agoLet's just make "unsafe" the default in Rust, and add a new "safe" keyword to anticipate the use case of overly concerned users like gspr.
- gspr 5y agoAbsolutely (although see note below)! I don't have any gripes with the tooling from a technical perspective. I do have gripes from a cultural perspective, though. Addendum: Until quite recently, this was quite cumbersome. It also meant that all cargo invocations (by the same user) would use that override, always. It meant that compiling someone else's project became quite the hassle. Or compiling a project that mostly uses system dependencies, but some crates.io deps. But the situation is improving.
- steveklabnik 5y agoTo say it explicitly: "I don't have any internet" was a hard constraint on everything from the beginning. Firefox's build requires it. Most distros require it. Some of it was a bit awkward to actually use this way in the early days, but those harsh edges have been since sanded off.