Results 17 issues of nathaniel-daniel

Partially fixes #230 by emitting directives for environment variables. Looking at #443, it seems uncontroversial to add an option to emit this metadata for environment variables. This PR adds an...

Currently, a serenity Client cannot be built if the computer is offline. This is because the `ClientBuilder` makes a [http request when awaited](https://github.com/serenity-rs/serenity/blob/dc22cf2af034e521e11971af8f8cda0066d6a87a/src/client/mod.rs#L378). I think that being able to create...

This PR fixes a compiler warning created by negating an unsigned integer before casting it to a signed integer. This is fixed by explicitly casting the unsized integer to a...

I added a mingw declarations file to support that platform. It was copied from the cygwin definitions. I appear to be able to compile, load, and use this library from...

Closes #1354 Closes #1359 This PR fixes the NPM package's platform detection for mingw.

## 🐛 Bug description The npm package fails to install on mingw: ``` npm ERR! throw new Error(`Unsupported platform: ${type} ${arch}`); npm ERR! ^ npm ERR! npm ERR! Error: Unsupported...

### What did you do? Hello, I've been looking around at some PNG decoders and I think I've found a small bug in your iCCP chunk handling. ### What did...

This PR makes invalid iCCP sections get ignored instead of throwing an error. Let me know if I should add an option to toggle this behavior. Ideally, I think the...

I wanted to try to update this crate to a newer version of nom, but I realized that the raised msrvs of a lot of the dependencies of this crate...

Since GlobalHeap can be created from an arbitrary pointer, and code assumes heaps always have valid pointers, it is easy to cause UB: ```rust use mimalloc_rust::heap::GlobalHeap; use mimalloc_rust::heap::MiMallocHeap; use mimalloc_rust::*;...