rust/library/std/src/sys/unsupported
Yuki Okushi cc5a1aad4e
Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=Mark-Simulacrum
Remove unsafety from sys/unsupported and add deny(unsafe_op_in_unsafe_fn).

Replacing `UnsafeCell`s by a `Cell`s simplifies things and makes the mutex and rwlock implementations safe. Other than that, only unsafety in strlen() contained unsafe code.

@rustbot modify labels: +F-unsafe-block-in-unsafe-fn +C-cleanup
2020-10-14 06:02:21 +09:00
..
alloc.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
args.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
cmath.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
common.rs Apply deny(unsafe_op_in_unsafe_fn) to all of sys/unsupported. 2020-10-08 23:37:23 +02:00
condvar.rs No longer put condvars on the 'unsupported' platform in a box. 2020-10-02 09:47:08 +02:00
env.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fs.rs Consolidate wasi::process and unsupported::process 2020-09-15 07:01:13 -07:00
io.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
mod.rs Apply deny(unsafe_op_in_unsafe_fn) to all of sys/unsupported. 2020-10-08 23:37:23 +02:00
mutex.rs Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=Mark-Simulacrum 2020-10-14 06:02:21 +09:00
net.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
os.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
pipe.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
process.rs Add accessors to Command. 2020-09-26 18:58:38 -07:00
rwlock.rs Add note about using cells in the locks on the 'unsupported' platform. 2020-10-13 15:29:38 +02:00
stack_overflow.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
stdio.rs Make raw standard stream constructors const 2020-08-21 13:17:20 +02:00
thread.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread_local_dtor.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread_local_key.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
time.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00