Gurinder Singh
Gurinder Singh
Fixes #124848 The ICE originates here: https://github.com/rust-lang/rust/blob/f9a3fd966162b3c7386d90fe4626471f66ba3b8f/compiler/rustc_hir_typeck/src/cast.rs#L143 The underlying cause is that a type with error, `MyType` was involved in a cast. During cast checks the below method `pointer_kind` was...
The [custom allocator ](https://github.com/microsoft/windows-drivers-rs/blob/f9752bde538d53f7bbd13538b27b92bd3626f4bd/crates/wdk-alloc/src/lib.rs#L57) in `wdk_alloc` is based on on `ExAllocatePool2` which uses [a 16 byte alignment on 64 bit systems if the allocation size is < PAGE_SIZE and PAGE_SIZE...
This PR enables code coverage for tests and adds the logic to upload coverage data to [CodeCov](https://about.codecov.io/). ## Scope Coverage is currently limited only to tests in the top level...
This PR improves the performance of cargo-wdk integration tests by making the locks they take more fine grained. On my laptop the test execution time has reduced from **~13 minutes**...
`cargo-wdk` invokes various tools like `cargo build`, `stampinf`, `infverif` etc. Currently it exposes no way to for the user to pass arguments to these tools. It should provide a well...
Currently `cargo wdk new` command [passes `--vcs none` when invoking `cargo new`](https://github.com/microsoft/windows-drivers-rs/blob/de6622ae8b104ee56b2cbd94f3fe1db8604305b4/crates/cargo-wdk/src/actions/new/mod.rs#L119), but most users would want VCS to be enabled which is why it is the default behaviour in...
We should switch to [Trusted Publishing](https://crates.io/docs/trusted-publishing) as it is more secure. Since it runs from a GitHub Action we will need ensure that we trigger the publication manually and are...
`cargo build`, `rustc` and other build tools like `gcc` emit their human readable output to to stderr instead of stdout. This allows stdout to be available for machine readable output...
It looks like there is already something providing metadata specifically for IO errors in cargo-wdk: https://github.com/microsoft/windows-drivers-rs/blob/fd8da612a50ad32e68c63702553c46f196977c1c/crates/cargo-wdk/src/providers/mod.rs#L52 There should be followup to consolidate that with #480 and use it extensively in...