Kixunil / Kixunil/RIT

configure_me: conditional compilation

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Add the ability to write e.g. `cfg = "target_os = \"linux\""` in [`configure_me`](https://github.com/Kixunil/configure_me) specification to make a flag/option only available when compiled with certain feature. Bonus point for adding `inform_cfg_off`, which would print "The flag `--foo` is unavailable because this application was compiled without support for this feature" instead of "unknown flag" message.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the configure_me specification handling and how flags or options are made available during compilation. Implement the requested cfg-based conditional availability, then verify that unavailable flags are excluded; if the bonus is attempted, confirm inform_cfg_off produces the specified message instead of "unknown flag".

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.