Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: regression in 11200 #11204

Merged
merged 1 commit into from
Dec 13, 2024
Merged

fix: regression in 11200 #11204

merged 1 commit into from
Dec 13, 2024

Conversation

rgrinberg
Copy link
Member

Remove all error checking for empty projects in [$ dune subst]

Copy link
Collaborator

@Leonidas-from-XIV Leonidas-from-XIV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! Potentially worth a changelog entry.

I suggest cherry-picking this for 3.17.1 (cc @maiste @ElectreAAS @shonfeder).

@rgrinberg rgrinberg force-pushed the ps/rr/fix__regression_in_11200 branch from 182f704 to ec2aa0e Compare December 13, 2024 19:22
Remove all error checking for empty projects in [$ dune subst]

Signed-off-by: Rudi Grinberg <[email protected]>

<!-- ps-id: 5a8bca2a-1764-4728-9834-590617e381e8 -->

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg rgrinberg force-pushed the ps/rr/fix__regression_in_11200 branch from ec2aa0e to 9e9b1f6 Compare December 13, 2024 19:24
@rgrinberg rgrinberg merged commit 3fc17ee into main Dec 13, 2024
26 of 28 checks passed
@rgrinberg rgrinberg deleted the ps/rr/fix__regression_in_11200 branch December 13, 2024 19:27
@maiste
Copy link
Collaborator

maiste commented Dec 16, 2024

I'll take care of the release 3.17.1 then 👍

@maiste maiste mentioned this pull request Dec 16, 2024
11 tasks
maiste pushed a commit to maiste/dune that referenced this pull request Dec 16, 2024
Remove all error checking for empty projects in [$ dune subst]

Signed-off-by: Rudi Grinberg <[email protected]>
maiste pushed a commit to maiste/dune that referenced this pull request Dec 17, 2024
Remove all error checking for empty projects in [$ dune subst]

Signed-off-by: Rudi Grinberg <[email protected]>
Signed-off-by: Etienne Marais <[email protected]>
maiste added a commit that referenced this pull request Dec 17, 2024
Remove all error checking for empty projects in [$ dune subst]

Signed-off-by: Rudi Grinberg <[email protected]>
Signed-off-by: Etienne Marais <[email protected]>
Co-authored-by: Rudi Grinberg <[email protected]>
maiste added a commit to maiste/opam-repository that referenced this pull request Dec 17, 2024
CHANGES:

### Fixed

- When a library declares `(no_dynlink)`, then the `.cmxs` file for it
  is no longer built. (ocaml/dune#11176, @nojb)

- Fix bug that could result in corrupted file copies by Dune, for example when
  using the `copy_files#` stanza or the `copy#` action. (@nojb, ocaml/dune#11194, fixes
  ocaml/dune#11193)

- Remove useless error message when running `$ dune subst` in empty projects.
  (@rgrinberg, ocaml/dune#11204, fixes ocaml/dune#11200)
chris-armstrong pushed a commit to chris-armstrong/dune that referenced this pull request Jan 29, 2025
Remove all error checking for empty projects in [$ dune subst]

Signed-off-by: Rudi Grinberg <[email protected]>
Signed-off-by: Chris Armstrong <[email protected]>
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.

4 participants