LukeMathWalker / LukeMathWalker/cheadergen

Use as a library?

Open
#34 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
34
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I know cheadergen cannot be used in build.rs due to the cargo lock. But would it possible to write an xtask to run cheadergen by using a cheadergen-lib? By now it seems some configs can only be specified by the config file, but users may want to specify them as more flexible arguments, e.g. compiling with different features and flags to target different platforms.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the build.rs limitation, the existing config-file handling, and how cheadergen is invoked. Define what a cheadergen library and xtask interface would need to expose for flexible feature, flag, and target-platform arguments; done means those configurations can be supplied without relying only on the config file.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, rust
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.