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

feat: support evaluated rspfile in command #120

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

Conversation

hikerpig
Copy link

@hikerpig hikerpig commented Sep 9, 2024

I hacked some code to fix my issue #119 and managed to build my local project using n2.

I'm not familiar with Rust and ninja, so my implementation may be far from suitable, but still I want to open this PR to fill in some unittest of the issue and hopefully someone with a better understanding of this project can make it right both in performance and extendability.

@Colecf
Copy link
Contributor

Colecf commented Sep 9, 2024

In ninja, the variable lookup is recursive, and has cycle detection, which is missing from this PR.

@hikerpig
Copy link
Author

hikerpig commented Sep 9, 2024

@Colecf Thank you for the direction, I can try to dig in ninja's code and port enough related feature and unit tests in my spare time.

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

Successfully merging this pull request may close these issues.

2 participants