Quantcast
Channel: Synchronized FFI access to POSIX environment variable functions
Viewing all articles
Browse latest Browse all 25

Synchronized FFI access to POSIX environment variable functions

$
0
0

One issue with deprecated_safe: there could be existing uses of these functions in unsafe blocks (and, in particular, in unsafe fn, which are unsafe blocks by default) -- and those users would not get any notification that there now is a new safety condition to uphold.

I do not have a good suggestion for resolving this, other than actually deprecating the old functions and introducing new, unsafe functions under new names.

Read full topic


Viewing all articles
Browse latest Browse all 25

Trending Articles