Commit Graph

35 Commits

Author SHA1 Message Date
auronandace bf7e77b836 verify strings header includes 2026-04-22 11:40:16 +01:00
auronandace 55534b9af1 string and strings header cleanup 2026-02-27 14:18:58 +00:00
auronandace 64f18ca89a add unused_mut lint 2026-02-08 09:00:14 +00:00
sourceturner defd2ce7c3 Deny deny-unsafe_op_in_unsafe_fn on the crate level 2026-01-21 00:41:57 +01:00
auronandace c7e45afd23 cleanup strings endian and elf headers 2026-01-20 15:43:35 +00:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Peter Limkilde Svendsen bda6a944b6 Fix error on deprecated functions 2025-02-04 19:53:09 +01:00
Peter Limkilde Svendsen 05eb0e85de Set #[no_mangle] on ffsl(), ffsll() 2025-02-03 23:07:02 +01:00
Peter Limkilde Svendsen 306196da2a Implement ffsl(), ffsll() 2025-02-03 22:47:45 +01:00
Peter Limkilde Svendsen 79badf4cfa Add missing function stubs 2025-02-03 22:46:27 +01:00
Peter Limkilde Svendsen 39f564ea23 Add docs and deprecations for strings.h 2025-02-03 22:37:37 +01:00
Jeremy Soller 90f30c5f51 Make NulTerminated::new return option 2025-01-09 13:33:56 -07:00
Peter Limkilde Svendsen 66b9c8ec87 Use unsafe blocks in strings.h implementation 2024-10-15 18:47:22 +00:00
Peter Limkilde Svendsen b60fb9bace Refactor strcasecmp, strncasecmp with iterators 2024-10-15 18:10:52 +00:00
4lDO2 cdd0f67b23 Rustfmt. 2023-05-17 15:28:10 +02:00
David Carlier 63deaec9d8 update inline asm 2023-03-22 06:56:06 +00:00
David Carlier 44f343bec8 explicit_bzero implementation proposal 2023-03-22 06:25:26 +00:00
jD91mZM2 593925ceb4 Unambiguate all include guards
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
jD91mZM2 b8c50c7c64 Format 2019-08-04 19:05:45 +02:00
jD91mZM2 c7d499d4f2 Upgrade to the 2018 edition
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła 63a1319e50 Cbindgen update 2019-07-10 10:08:39 +00:00
jD91mZM2 6d4ac9dba8 Finally, get rid of all rust warnings
Just a small step along the way to reduce the massive wall of spam
every time you compile.

This was done partly automagically with `cargo fix`. The rest was me
deleting or commenting out a bunch of variables. Hope nothing was
important...
2019-04-21 21:12:16 +02:00
jD91mZM2 3a3fd3da39 Use the memchr crate
https://github.com/BurntSushi/rust-memchr is supposed to be a whole
lot faster :)
2019-04-21 19:09:37 +02:00
jD91mZM2 1c92751a73 Don't rely on integer wrapping in ctype
Don't rely on integer wrapping in ctype and fix strcasecmp on
non-alphabetic characters
2018-11-17 20:26:43 +01:00
Jeremy Soller ebffc977b2 Reduce warnings 2018-11-10 07:52:45 -07:00
Jeremy Soller 39b999ccea Update to new rust-toolchain 2018-11-07 20:25:21 -07:00
jD91mZM2 bfa068df88 Fix strcasecmp return value 2018-10-17 21:26:16 +02:00
jD91mZM2 edb95246d4 Fix bug in strncasecmp 2018-10-13 16:55:21 +02:00
jD91mZM2 3c8cb95b80 Cleanup strcasecmp 2018-10-07 13:02:05 +02:00
jD91mZM2 baddbb98d5 Don't reinvent the wheel in strings.h 2018-10-05 19:33:41 +02:00
Paul Sajna 07eb658a8a Netdb 2018-09-01 14:00:18 +00:00
Jeremy Soller 16373257b0 format 2018-08-27 07:12:37 -06:00
Jeremy Soller 8f5470fd27 Reduce warnings 2018-08-27 07:12:24 -06:00
Jeremy Soller 7ab700315d Fix warnings and add c_str 2018-08-26 15:15:29 -06:00
Jeremy Soller c20ce5ffed Large reorganization of headers (WIP) 2018-08-26 08:11:35 -06:00