about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-03 18:58:06 +0000
committerbors <bors@rust-lang.org>2020-11-03 18:58:06 +0000
commit56293097f7f877f1350a6cd00f79d03132f16515 (patch)
tree242ed3ef549823385a123d21916252a017414f50 /src/test/codegen/src-hash-algorithm
parent5cdf5b882da9e8b7c73b5cadeb7745cb68f6ff63 (diff)
parenta65507b47da110cc4a998036a18aaea77f8ddb81 (diff)
downloadrust-56293097f7f877f1350a6cd00f79d03132f16515.tar.gz
rust-56293097f7f877f1350a6cd00f79d03132f16515.zip
Auto merge of #78711 - m-ou-se:rollup-pxqnny7, r=m-ou-se
Rollup of 7 pull requests

Successful merges:

 - #77950 (Add support for SHA256 source file hashing)
 - #78624 (Sync rustc_codegen_cranelift)
 - #78626 (Improve errors about #[deprecated] attribute)
 - #78659 (Corrected suggestion for generic parameters in `function_item_references` lint)
 - #78687 (Suggest library/std when running all stage 0 tests)
 - #78699 (Show more error information in lldb_batchmode)
 - #78709 (Fix panic in bootstrap for non-workspace path dependencies.)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
-rw-r--r--src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs b/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
new file mode 100644
index 00000000000..eaa9eafa1e8
--- /dev/null
+++ b/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
@@ -0,0 +1,7 @@
+// compile-flags: -g -Z src-hash-algorithm=sha256
+// min-llvm-version: 11.0
+
+#![crate_type = "lib"]
+
+pub fn test() {}
+// CHECK: checksumkind: CSK_SHA256