Skip to content

Conversation

@sharkdp
Copy link
Collaborator

@sharkdp sharkdp commented Oct 15, 2025

  • Remove the recently-introduced --debug-build option and add a --cargo-profile option instead. This allows for more flexibility (--cargo-profile dev corresponds to --debug-build)
  • Make sure that pyrefly builds work for users with a custom build.target-dir setting by explicitly specifying the target-dir (same as for ty)
  • Use python-interpreter-path for pyrefly runs (apparently, the name of the option has changed recently)

I tested this for both ty and pyrefly with different cargo profiles.

@sharkdp sharkdp force-pushed the cargo-profile-option branch from 515245c to cdc027f Compare October 15, 2025 10:12
@sharkdp sharkdp merged commit ab5d30e into master Oct 15, 2025
4 checks passed
@sharkdp sharkdp deleted the cargo-profile-option branch October 15, 2025 10:16
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