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

refactor fs use #8

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

refactor fs use #8

wants to merge 3 commits into from

Conversation

DominicBurkart
Copy link
Owner

Right now, we are doing a lot of reads and writes to the file system, which may be problematic with the current state of procedural macros. This PR is focused on minimizing unnecessary FS activity and using more stable means to access the FS (e.g. via macros like include_str! instead of by opening and reading files).

As a bonus, we expect this to reduce compile time.

@DominicBurkart DominicBurkart marked this pull request as ready for review July 6, 2021 20:54
@DominicBurkart DominicBurkart force-pushed the refactor-caching-mechanism branch from a543941 to 30934e5 Compare July 6, 2021 20:57
@DominicBurkart DominicBurkart force-pushed the refactor-caching-mechanism branch from 30934e5 to 2e6a64c Compare July 23, 2021 18:59
@DominicBurkart
Copy link
Owner Author

hmm, include_dir!(".") in extract_function is taking the home dir for the turbolift_internals project, not the home dir of the project importing turbolift.

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