diff options
| author | The rustc-josh-sync Cronjob Bot <github-actions@github.com> | 2025-08-09 01:55:44 +0000 |
|---|---|---|
| committer | The rustc-josh-sync Cronjob Bot <github-actions@github.com> | 2025-08-09 01:55:44 +0000 |
| commit | bf8487827d3eb2214fba7ce540027b5f590a7274 (patch) | |
| tree | 70c4a7bde55bffe1270d477d7e09c319000ae2fd /tests/codegen-llvm/src-hash-algorithm | |
| parent | 3fb62b990c0bdb46412944862a28ad9b92a73b82 (diff) | |
| parent | ad499d076aa71ac16de4d08fa232446d39125df3 (diff) | |
| download | rust-bf8487827d3eb2214fba7ce540027b5f590a7274.tar.gz rust-bf8487827d3eb2214fba7ce540027b5f590a7274.zip | |
Merge ref 'ffb9d94dcf4a' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: ffb9d94dcf4ade0d534842be3672d5e9f47e1333 Filtered ref: 2f31646593733abae36e4c05b5a54acfb9f1f6bc This merge was created using https://github.com/rust-lang/josh-sync.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm')
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs new file mode 100644 index 00000000000..7aec8d545dc --- /dev/null +++ b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs @@ -0,0 +1,6 @@ +//@ compile-flags: -g -Z src-hash-algorithm=md5 -Copt-level=0 + +#![crate_type = "lib"] + +pub fn test() {} +// CHECK: checksumkind: CSK_MD5 diff --git a/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs new file mode 100644 index 00000000000..5389c32f938 --- /dev/null +++ b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs @@ -0,0 +1,6 @@ +//@ compile-flags: -g -Z src-hash-algorithm=sha1 -Copt-level=0 + +#![crate_type = "lib"] + +pub fn test() {} +// CHECK: checksumkind: CSK_SHA1 diff --git a/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs new file mode 100644 index 00000000000..520890c47f1 --- /dev/null +++ b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs @@ -0,0 +1,6 @@ +//@ compile-flags: -g -Z src-hash-algorithm=sha256 -Copt-level=0 + +#![crate_type = "lib"] + +pub fn test() {} +// CHECK: checksumkind: CSK_SHA256 |
