about summary refs log tree commit diff
path: root/library/std/src/sys/windows/compat.rs
AgeCommit message (Collapse)AuthorLines
2020-10-01Work around potential merging/duplication issues in sys/windows/compat.Mara Bos-3/+19
2020-10-01Improve std::sys::windows::compat.Mara Bos-27/+34
- 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.
2020-07-27mv std libs to library/mark-0/+72