about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-14 13:48:18 +0200
committerGitHub <noreply@github.com>2023-10-14 13:48:18 +0200
commitb236d11128c6b14a3e869d820c84c8ff7e753f38 (patch)
treec5013fb73f84105452d9fe674095363c818f3a09 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent38999570863b2adc4598f1b949ff4e8fe53d4866 (diff)
parent86e9b0f0d4881787bed2ff77d3bb6db56d077ee2 (diff)
downloadrust-b236d11128c6b14a3e869d820c84c8ff7e753f38.tar.gz
rust-b236d11128c6b14a3e869d820c84c8ff7e753f38.zip
Rollup merge of #116577 - onur-ozkan:add-safety-block-on-unsafe, r=clubby789
add `SAFETY` block on the usage of unsafe `getuid`

We pointed out this unsafe usage in #109859, and as a result, we received a fix PR #116476. However, it's important to note that the `libc::getuid()` never actually fails. This PR aims to clarify its safety.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions