This project is mirrored from https://github.com/archlinux/alpm.rs.git.
Pull mirroring updated .
- 04 Oct, 2021 2 commits
-
-
Marcel Walk authored
Fixed another typo "create" to "crate"
-
Marcel Walk authored
Fixed typo
-
- 22 Sep, 2021 2 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- 05 Sep, 2021 4 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- 23 Aug, 2021 1 commit
-
-
Morgan Adamiec authored
pacman 6.0.0 now dups it for you.
-
- 02 Jul, 2021 3 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- 01 Jul, 2021 3 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- 14 Jun, 2021 1 commit
-
-
Morgan Adamiec authored
-
- 12 Jun, 2021 1 commit
-
-
Morgan Adamiec authored
This also lets git builds run in CI as the build script never pulls in alpm.
-
- 07 Jun, 2021 1 commit
-
-
Morgan Adamiec authored
-
- 06 Jun, 2021 1 commit
-
-
Morgan Adamiec authored
-
- 05 Jun, 2021 3 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- 03 Jun, 2021 7 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
This function is the same as from_cstr_optional but returns "" instead of None. This makes it more clear what functions should actually return an Option for when it's time to change them. This also allows from_cstr to go back to the faster unchecked version.
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- 02 Jun, 2021 2 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
Perviously, when getting a pointer to a union field we did: let inner = &mut unsafe { (*self.inner).replace } Due to the &mut being outside the unsafe block this actually takes a reference to a temporary variables instead of the union filed. It effectively looks like: let tmp = unsafe { (*self.inner).replace }; let inner = &mut tmp //reference to stack data The fix is to just move the &mut into the safe block, making rust not create a temporary variable and actually reference the union.
-
- 01 Jun, 2021 4 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
This may fail to allocate memory even with good input.
-
Morgan Adamiec authored
-
Morgan Adamiec authored
Stopgap for functions that return str but should return Option<str>
-
- 30 May, 2021 4 commits
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- 20 May, 2021 1 commit
-
-
Morgan Adamiec authored
-