diff options
| author | bors <bors@rust-lang.org> | 2023-09-08 17:20:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-08 17:20:23 +0000 |
| commit | c41e7794cd4acf979204d7f68aca74b828a389b2 (patch) | |
| tree | ff184ce3bf0c1767847e4d33d9ecdf4a849f59c8 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 6285086ead0a603da516d2d051a07a9d87097883 (diff) | |
| parent | 4ecfd30a8671baeb36b12c4827255ce89a740fd3 (diff) | |
| download | rust-c41e7794cd4acf979204d7f68aca74b828a389b2.tar.gz rust-c41e7794cd4acf979204d7f68aca74b828a389b2.zip | |
Auto merge of #115418 - Zoxc:freeze-source, r=oli-obk
Use `Freeze` for `SourceFile` This uses the `Freeze` type in `SourceFile` to let accessing `external_src` and `lines` be lock-free. Behavior of `add_external_src` is changed to set `ExternalSourceKind::AbsentErr` on a hash mismatch which matches the documentation. `ExternalSourceKind::Unneeded` was removed as it's unused. Based on https://github.com/rust-lang/rust/pull/115401.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
