Skip to content

fix(path): use External.append_local in Build.to_string for consistent separators#14616

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-kqrplkwvnsus
May 28, 2026
Merged

fix(path): use External.append_local in Build.to_string for consistent separators#14616
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-kqrplkwvnsus

Conversation

@Alizter

@Alizter Alizter commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Replace Filename.concat with External.append_local when stringifying external build paths with a local suffix. This ensures forward slashes are used on all platforms, removing the need for conditional Windows/Unix test expectations.

@Alizter Alizter added the windows Issues that relate to Dune on Microsoft Windows label May 20, 2026
@Alizter Alizter requested review from nojb and punchagan May 20, 2026 17:09
@Alizter Alizter force-pushed the push-kqrplkwvnsus branch from 0bc2bef to 7a10027 Compare May 22, 2026 11:41

@nojb nojb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

(Sorry for the delay, I had missed the notification for this PR.)

Comment thread otherlibs/stdune/src/path.ml Outdated
…t separators

Replace Filename.concat with External.append_local when stringifying external
build paths with a local suffix. This ensures forward slashes are used on all
platforms, removing the need for conditional Windows/Unix test expectations.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter force-pushed the push-kqrplkwvnsus branch from 7a10027 to c35e6aa Compare May 28, 2026 15:59
@Alizter Alizter merged commit bc6853b into ocaml:main May 28, 2026
29 of 30 checks passed
@Alizter Alizter deleted the push-kqrplkwvnsus branch May 28, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

windows Issues that relate to Dune on Microsoft Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants