Skip to content

Output path of process #7

@dalance

Description

@dalance

The output path of process is the same as the input.
But this is not match with the policy of cargo publish.

Now cargo publish verify that src dir wasn't modified by build.rs.
rust-lang/cargo#5584
So if src/test.rs in example1 is generated by build.rs, example1 can't be published.

The example of code generation by build.rs is below:
https://doc.rust-lang.org/cargo/reference/build-scripts.html#case-study-code-generation

To follow it, the output path of process should be specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions