matthiaskrgr / matthiaskrgr/icemaker
how to get all `allow` lints dynamically
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 88
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
let v = std::process::Command::new("rustc")
.arg("-Whelp")
.output()
.unwrap()
.stdout;
let s = std::str::from_utf8(&v).unwrap().to_string();
let v = s
.lines()
.filter(|l| l.contains(" allow "))
.map(|l| l.trim())
.filter_map(|l| l.split_whitespace().next())
.map(|l| format!("-W{}", l))
.collect::<Vec<_>>();
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by examining the shown Rust command that runs rustc -Whelp and parses its stdout; clarify the intended project behavior and acceptance criteria before changing it, since the issue does not define what “get all allow lints dynamically” should produce.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100