LukeMathWalker / LukeMathWalker/cargo-px

Pathological case: the code generator is a target in the generated package

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Rust
Stars
63
Forks
4
PR merge metrics
No merged PRs in 30d

Description

We should detect this edge case and report an informative error to the user.
The code generator must always be defined in a separate package from the generated crate.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Trace the code-generation package validation and the handling of the generated crate, then add coverage for the case where the generator is defined in the generated package. Done means this configuration is rejected with an informative user-facing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.