Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jul 27, 2023

The files_with_io() fn reads the "file" content into memory anyway, so we gain nothing from passing in the Read impl. This PR simplifies the code a bit and keeps files() as the only entry point for generating a custom tarball.

Further cleanup with come in follow-up PRs :)

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Jul 27, 2023
@Turbo87 Turbo87 merged commit c1c1764 into rust-lang:main Jul 27, 2023
@Turbo87 Turbo87 deleted the files-with-io branch July 27, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant