-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
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.
suma
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request