Skip to content

Add symlink_action_has_target_type#124

Merged
fmeum merged 1 commit intobazel-contrib:mainfrom
Mivr:add-symlink-action-has-target-type
Jan 28, 2026
Merged

Add symlink_action_has_target_type#124
fmeum merged 1 commit intobazel-contrib:mainfrom
Mivr:add-symlink-action-has-target-type

Conversation

@Mivr
Copy link
Copy Markdown
Contributor

@Mivr Mivr commented Jan 28, 2026

ctx.actions.symlink gained a target_type argument in Bazel 9.0.0 that allows specifying whether the symlink target is a file or directory. This is needed on Windows where junctions must be used for directories instead of file symlinks.

See bazelbuild/bazel#26701

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fmeum fmeum merged commit 422f4bd into bazel-contrib:main Jan 28, 2026
11 checks passed
fmeum added a commit that referenced this pull request Mar 9, 2026
The `target_type` argument for `ctx.actions.symlink` has been
cherry-picked into the Bazel 8.6.0 release branch via
bazelbuild/bazel#28538.

Bazel 8.6.0 milestone: bazelbuild/bazel#27949

Follow-up to #124.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
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