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

Is there a simple way to include "OUT_DIR" files? #67

Open
littzhch opened this issue Jan 20, 2023 · 4 comments
Open

Is there a simple way to include "OUT_DIR" files? #67

littzhch opened this issue Jan 20, 2023 · 4 comments

Comments

@littzhch
Copy link

I try to pack files generated by build.rs into deb package, but I didn't find a comfortable way to fetch files in OUT_DIR using cargo-deb. Is it possible to add a simple way to do this?

@kornelski
Copy link
Owner

There is no good way to do this in cargo. The location of OUT_DIR changes and it is an implementation detail that is private to Cargo.

@sowbug
Copy link

sowbug commented Jul 6, 2023

@littzhch did you find a solution to this? I want to include the output of clap_mangen in my package.

@littzhch
Copy link
Author

littzhch commented Jul 7, 2023

@littzhch did you find a solution to this? I want to include the output of clap_mangen in my package.

@sowbug No, still unsolved. It seems that a RFC is needed to make OUT_DIR public. The two tools mentioned in rust-lang/cargo#9858 may help.

@sowbug
Copy link

sowbug commented Jul 7, 2023 via email

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

3 participants