Skip to content

Conversation

@jjl9807
Copy link
Collaborator

@jjl9807 jjl9807 commented Oct 21, 2025

This PR introduces the following changes to achieve full compatibility with Cargo's build environment in Buck2:

  • Implement comprehensive Cargo compatibility via custom build rules, primarily customizing buildscript_run
  • Distribute the custom prelude embedded within the binary for consistent execution environments
  • Introduce a modifier-based mechanism to select build command profiles (debug, release)

Important

This is a breaking change. It requires a local Buck2 version of at least buck2 2025-10-15.

@genedna genedna merged commit 2b2e816 into buck2hub:main Oct 21, 2025
5 checks passed
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.

2 participants