Skip to content

Cargo.toml: Simplify profiles#191

Merged
oSoMoN merged 1 commit intouutils:mainfrom
oech3:patch-2
Mar 8, 2026
Merged

Cargo.toml: Simplify profiles#191
oSoMoN merged 1 commit intouutils:mainfrom
oech3:patch-2

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Mar 7, 2026

No description provided.

@oech3 oech3 marked this pull request as ready for review March 7, 2026 18:08
@oSoMoN
Copy link
Collaborator

oSoMoN commented Mar 8, 2026

It looks like the dist profile might be useful?

$ cargo dist build
building artifacts:
  diffutils-x86_64-unknown-linux-gnu.tar.xz
  diffutils-x86_64-unknown-linux-gnu.tar.xz.sha256
  source.tar.gz
  source.tar.gz.sha256
  sha256.sum

building x86_64-unknown-linux-gnu target, using cargo profile dist --workspace)
error: profile `dist` is not defined
  × failed to find bin diffutils for path+file:///home/osomon/build/uutils/diffutils#0.5.0
  help: did the above build fail?

@oech3
Copy link
Contributor Author

oech3 commented Mar 8, 2026

Hmm... does not it auto-fallback to release?

@oSoMoN
Copy link
Collaborator

oSoMoN commented Mar 8, 2026

Apparently not, at least not when run manually.

@oech3
Copy link
Contributor Author

oech3 commented Mar 8, 2026

added

[profile.dist]
inherits = "release"

(but I don't like it...)

@oSoMoN oSoMoN merged commit 5660d0e into uutils:main Mar 8, 2026
28 checks passed
@codecov
Copy link

codecov bot commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (c624dc4) to head (a305653).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #191   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 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.

@oech3 oech3 deleted the patch-2 branch March 9, 2026 03:20
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