8000 build: make laze use Cargo's dependency info by kaspar030 · Pull Request #651 · ariel-os/ariel-os · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

build: make laze use Cargo's dependency info #651

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kaspar030
Copy link
Member

Description

This PR makes use of some dependency trickery so we're able to drop the always: true from our cargo rule. This extracts Cargo's source file deps for each application crate, and additionally adds a script to get a list of all Cargo.toml in the workspace.

Issues/PRs references

Depends on kaspar030/laze#599 to be in the used laze release.

Open Questions

  • .config/cargo.toml
  • test oot builds
  • integrate into laze? or is the added rust script fast enough?

Change checklist

  • I have cleaned up my commit history and squashed fixup commits.
  • I have followed the Coding Conventions.
  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.


let depfile = args.output_file.with_extension("d");
std::fs::write(depfile, &depstr).unwrap();
let depfile = args.output_file.with_extension("dd");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a debug leftover :)

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

Successfully merging this pull request may close these issues.

1 participant
0