about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-09-20 14:46:10 +0200
committerMara Bos <m-ou.se@m-ou.se>2020-10-01 16:08:57 +0200
commit8b2bdfd453d196f4d108183efe1f5a58292d5f11 (patch)
treecdaa1cc6ced4e0fa5f71847f12280cb5e575a3b5 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentd92d28e523bf056ab4eb752510ec52fe4f1c6311 (diff)
downloadrust-8b2bdfd453d196f4d108183efe1f5a58292d5f11.tar.gz
rust-8b2bdfd453d196f4d108183efe1f5a58292d5f11.zip
Improve std::sys::windows::compat.
- Module name can now be any string, not just an ident.
  (Not all Windows api modules are valid Rust identifiers.)
- Adds c::FuncName::is_available() for checking if a function is really
  available without having to do a duplicate lookup.
- Add comment explaining the lack of locking.
- Use `$_:block` to simplify the macro_rules.
- Apply allow(unused_variables) only to the fallback instead of
  everything.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions