Skip to content

rustfmt no such file or directory when used as data of sh_binary #1793

Closed
@gferon

Description

@gferon

We have a sh_binary that has a data dependency to @rules_rust//rust/toolchain:current_rustfmt_toolchain. After upgrading to rules_rust 0.16.1 from 0.14.0, this fails on runtime with a "no such file or directory" error and after checking, the files from rustfmt aren't symlinked as part of the .runfiles directory of this script.

I'm not sure what could have changed, but any help is appreciated to try and pin point the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions