Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No access to root crate file in sub-crate #327

Open
gkze opened this issue May 25, 2024 · 1 comment
Open

No access to root crate file in sub-crate #327

gkze opened this issue May 25, 2024 · 1 comment

Comments

@gkze
Copy link

gkze commented May 25, 2024

I'm trying to build https://github.com/pantsbuild/pants, and there's a VERSION file @ src/rust/engine that gets accessed by a macro in src/rust/engine/pantsd/src, which is a sub-crate of the workspace. But when I run a build I get the error that there is no such file or directory. How can I get around this?

@wiredsis
Copy link

wiredsis commented Aug 9, 2024

Hi! Ran into a similar issue, and I fixed it by setting singleStep to true before building, as mentioned in #45 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants