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

[wip] preprocessor PoC #198

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

[wip] preprocessor PoC #198

wants to merge 10 commits into from

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Sep 13, 2024

ref #197

Implements preprocessor allowing us to skip recompiling tests on non-interface source file changes. Still testing, but looks like it's working correctly, decreasing single-change build times from ~1 minute to 5s in some cases.

Implementation needed some hacks to correctly handle constructor arguments, tried to document it clearly -

pub fn build_helper(&self) -> Result<Option<String>> {

still WIP as caching changes are not opt-in yet (preprocessor is), and I want to do more testing

	modified:   crates/compilers/src/preprocessor.rs
	modified:   crates/compilers/src/preprocessor.rs
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.

1 participant