-
It would be nice to have make targets that run `test/shellcheck.sh`, `support/ci/rustfmt.sh`, and one to test several things that are tested in the CI build. This would be useful to run before submitt…
-
Docs here: https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#stdexternalcrate
This is only available in rustfmt nightly as of `beta-2021-04-07`.
-
Hello,
`rustfmt` will remove `::` from a macro.
To illustrate:
```Rust
construct_runtime!(
pub struct Runtime
where
Block = Block,
NodeBlock = generic::Block,
…
-
**Describe the bug**
`rustfmt` does not differentiate between local imports not prefixed by `self::` and external crates. The behavior is as expected when prefixed by `self::`.
**To Reproduce**
…
-
### Feature request summary
This issue tracks adding linting, formatting and ub-checks to the `checkpatch.pl` script in aim of providing consistent Rust code within the Unikraft core.
-
### Describe the bug
there are warnings when compiling with the latest rust nightly version 1.85.0:
```
warning: unexpected `cfg` condition name: `frb_expand`
--> rust_lib/src/api/commons/commo…
-
I recently started a new project using Rust's `async`/`await` feature, with some code like this:
```rust
async fn body() {
let releases: github::Releases =
reqwest::get("https://api.…
-
The milestone feature that @Mark-Simulacrum added recently is very helpful to visualize when a PR will be in a stable release. I think it might be nice to extend it to other repos like:
* ~~cargo~~…
-
Currently, the examples in the Rust documentation is inconsistent in style. For instance, there are many examples that use 3 space tabs (probably accidentally), while most use 4.
How do we enforce…
-
### Check for existing issues
- [X] Completed
### Describe the bug / provide steps to reproduce it
Context:
- I have a multi-crate repo with some crates utilising rustc_private.
- Crates that…