Closed OptimisticPeach closed 5 years ago
I'm not quite sure why they didn't compile 😕
Looks like a race condition to me. cargo-apk creates a debug certificate if it can't find one. Since the tests run in a clean environment and are running in parallel, it appears to have attempted to create the file in two separate tests.
Hmm ... this seems to be a race condition triggered by running the tests in parallel. I'll make a PR that fixes it. In the meantime, LGTM, so I'll merge it. Thanks for your work on this!
Edit: Looks like @philip-alldredge beat me to it on that explanation!
Used
MaybeUninit
to solve the warnings and also added a fewdyn
s where they were missing.