Skip to content

release: define the [profile.dist] used by cargo-dist - #739

Merged
cakebaker merged 1 commit into
mainfrom
release-fix-dist-profile
Jun 15, 2026
Merged

cakebaker merged 1 commit into
mainfrom
release-fix-dist-profile

Conversation

@sylvestre

@sylvestre sylvestre commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #737

The 0.9.0 release shipped with no assets because the release workflow
failed with "error: profile `dist` is not defined". cargo-dist always
builds release artifacts with `cargo build --profile dist`, but Cargo.toml
only defined `release` and `release-fast`, so every build job errored out
before producing a binary and nothing was uploaded to the release.

Add the [profile.dist] block (inheriting release) that cargo-dist expects.

Fixes #737
@codspeed

codspeed Bot commented Jun 15, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 20 untouched benchmarks


Comparing release-fix-dist-profile (43e30d7) with main (bb6a5ba)

Open in CodSpeed

@github-actions

Copy link
Copy Markdown

Commit 43e30d7 has test result changes:

bfs testsuite:

Test results comparison:
  Current:   TOTAL: 313 / PASSED: 267 / FAILED: 40 / SKIPPED: 6
  Reference: TOTAL: 315 / PASSED: 267 / FAILED: 42 / SKIPPED: 6

Changes from main branch:
  TOTAL: -2
  PASSED: +0
  FAILED: -2

Test improvements (2):
  + gnu/okdir_path_empty
  + gnu/okdir_path_relative

@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.86%. Comparing base (bb6a5ba) to head (43e30d7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #739   +/-   ##
=======================================
  Coverage   91.86%   91.86%           
=======================================
  Files          35       35           
  Lines        7153     7153           
  Branches      375      375           
=======================================
  Hits         6571     6571           
  Misses        437      437           
  Partials      145      145           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cakebaker
cakebaker merged commit 978d7ab into main Jun 15, 2026
33 of 34 checks passed
@cakebaker
cakebaker deleted the release-fix-dist-profile branch June 15, 2026 12:41
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.

Latest release (0.9.0) has no assets, download links return 404 error

2 participants