diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-14 06:02:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-14 06:02:21 +0900 |
| commit | cc5a1aad4e2d45ab4da71a1807da9aa6f9e846aa (patch) | |
| tree | 623614a69ee529ffd304eab8c4e044ff4d680741 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 7de5fe76f25304cb5a34b81a3989c6117b0761f0 (diff) | |
| parent | af414dc274d30bc3f4aea1d396ac2663e0c08c56 (diff) | |
| download | rust-cc5a1aad4e2d45ab4da71a1807da9aa6f9e846aa.tar.gz rust-cc5a1aad4e2d45ab4da71a1807da9aa6f9e846aa.zip | |
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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
