Skip to content

cargo package fails because of proto folder #311

@giarc3

Description

@giarc3

When running cargo package, there's an error

error: failed to verify package tarball

Caused by:
  Source directory was modified by build.rs during cargo publish. Build scripts should not modify anything outside of OUT_DIR.

This is because our build file outputs to the proto directory. We should fix it to do the correct thing.

For now it can be worked around with --no-verify

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions