Skip to content

Dist: Better release profile#260

Merged
mindstorm38 merged 4 commits intomainfrom
improve-dist
Jan 25, 2026
Merged

Dist: Better release profile#260
mindstorm38 merged 4 commits intomainfrom
improve-dist

Conversation

@mindstorm38
Copy link
Owner

@mindstorm38 mindstorm38 commented Jan 18, 2026

  • Dist: The release profile is now specified in workspace [profile.release] section, instead of the "xtask dist" tool, thus allowing better integration with third-party packages and needs to use cargo test --release afterward.
  • Dist: xtask dist tool accepts a PMC_NO_ARCHIVE env variable, when non-empty it prevents the tool from creating an archive, only the directory which would get archived is built.
  • Dist: No longer using rustc nightly compiler, only using the cargo compiler which is running xtask, and the optional explicit target.
  • Dist: Now including the target's ABI in the archive name.

@mindstorm38 mindstorm38 force-pushed the improve-dist branch 3 times, most recently from 18b1ae0 to db7df08 Compare January 25, 2026 15:12
The release profile is no longer specified in "xtask dist", but rather in the workspace [profile.release] section. Improved "xtask dist" to be better reproducible when calling "cargo test --release" before or after! Also added "PMC_NO_ARCHIVE" var to skip archive creation, useful for third-party packaging.

Also using --locked to CI tests.
@mindstorm38 mindstorm38 merged commit 290fcbe into main Jan 25, 2026
6 checks passed
@mindstorm38 mindstorm38 deleted the improve-dist branch January 25, 2026 17:46
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.

1 participant