-
Notifications
You must be signed in to change notification settings - Fork 214
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
Simplified disk builder #320
Simplified disk builder #320
Conversation
e28e4ae
to
73f599d
Compare
625f3b6
to
7d6715e
Compare
@phil-opp this should also be ready to go. |
I only skimmed this PR, but I like the general approach. Some notes:
|
Why not both? Let's keep *Boot, as wrappers on top of
I'll look into it :)
Will do.
They are a remnant of previous rebases, I'll ditch the changes. |
Sure, that would be fine.
Faster builds are always nice, but it's not the first priority. What I meant is that it should be fine to call |
Another thought: Maybe we should add an additional builder method to add files in form of a |
Agreed. I haven't had a ton of spare time lately, I should be able to get back on this this weekend. |
d48d8f4
to
d19228d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates!
76ca9e9
to
a48f2ef
Compare
…d convert PathBuf parameters to Path
This also renames the methods to add files to set_.
a48f2ef
to
d4e9a5f
Compare
We don't want to expose the `FileDataSource` enum for now.
Also: Store file paths as `Cow<'static, str>` internally to avoid cloning for const paths.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the updates! Looks good now!
I pushed some more commits with a few minor tweaks.
Simplify the disk builder:
Closes #321
Note: No new tests, as existing tests fully cover these changes.