Skip to content

Commit 77c41b4

Browse files
add comment
1 parent afb4080 commit 77c41b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setuptools_rust/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ def build_extension(self, ext):
282282
except subprocess.CalledProcessError as e:
283283
pass
284284

285+
# executables and win32(cygwin)-dll's need X bits
285286
if executable or sys.platform == "win32" or sys.platform == "cygwin":
286287
mode = os.stat(ext_path).st_mode
287288
mode |= (mode & 0o444) >> 2 # copy R bits to X

0 commit comments

Comments
 (0)