Skip to content

Conversation

@thoughtpolice
Copy link
Contributor

This is a subtle but where using prelude//:source_listing means that a buck2-on-buck2 build will produce an invalid binary, because prelude// refers to the prelude inside the source binary. Introduce a new cell and refer to it with that.

Closes #971.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 29, 2025
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch 8 times, most recently from 94b5507 to 2a0dbc6 Compare May 30, 2025 05:00
@alexlian alexlian requested a review from JakobDegen May 30, 2025 15:23
@alexlian alexlian added the buck2 development Related to the development of buck2 itself label May 30, 2025
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch 4 times, most recently from 8ff43e5 to e129015 Compare June 6, 2025 05:30
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch 5 times, most recently from 0682691 to ccee96b Compare June 12, 2025 04:59
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch 2 times, most recently from 0a91c74 to 2e07382 Compare June 17, 2025 19:59
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from 2e07382 to 510f5c7 Compare June 24, 2025 22:28
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from 510f5c7 to 69b784d Compare July 7, 2025 04:12
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from 69b784d to 9485c1d Compare July 23, 2025 00:27
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch 2 times, most recently from f79490d to b12d585 Compare August 4, 2025 15:52
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from b12d585 to 0d1f9cf Compare August 7, 2025 21:29
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from 0d1f9cf to 343cd3a Compare September 5, 2025 06:07
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from 343cd3a to 7540067 Compare September 25, 2025 07:39
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from 7540067 to 63c1df9 Compare October 11, 2025 19:16
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Oct 11, 2025

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D75575062. (Because this pull request was imported automatically, there will not be any future comments.)

This is a subtle but where using `prelude//:source_listing` means that
a buck2-on-buck2 build will produce an invalid binary, because `prelude//`
refers to the prelude *inside the source binary*. Introduce a new cell
and refer to it with that.

Closes facebook#971.

Signed-off-by: Austin Seipp <[email protected]>
@thoughtpolice thoughtpolice force-pushed the aseipp/push-yzurmxmzovlk branch from 63c1df9 to c511ab8 Compare October 25, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buck2 development Related to the development of buck2 itself CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Self-built buck2 cannot rebuild buck2 again

3 participants