bazel-skylib icon indicating copy to clipboard operation
bazel-skylib copied to clipboard

Make `out` on `native_binary` optional

Open tpudlik opened this issue 8 months ago • 1 comments

Fixes: #399

tpudlik avatar Nov 06 '23 23:11 tpudlik

We could avoid the .exe suffix on non-Windows machines by adding a is_windows attribute populated from a select in a wrapper macro (like in https://github.com/bazelbuild/bazel-skylib/blob/main/rules/private/copy_file_private.bzl#L140-L143), but adding a wrapper macro for such a minor aesthetic benefit seems a little overkill. Let me know if you'd like me to do it, though!

tpudlik avatar Nov 06 '23 23:11 tpudlik