Skip to content

fix: Infer the expected len in include_bytes!(), to avoid mismatches#21573

Merged
Veykril merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:include-bytes-len
Feb 5, 2026
Merged

fix: Infer the expected len in include_bytes!(), to avoid mismatches#21573
Veykril merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:include-bytes-len

Conversation

@ChayimFriedman2
Copy link
Contributor

Since we can't read the real file size.

CC #21552 (comment).

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 3, 2026
@Veykril Veykril added this pull request to the merge queue Feb 5, 2026
Merged via the queue into rust-lang:master with commit ccd3924 Feb 5, 2026
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 5, 2026
@ChayimFriedman2 ChayimFriedman2 deleted the include-bytes-len branch February 5, 2026 12:06
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.

3 participants