Skip to content

Commit 2f133f4

Browse files
authored
Merge pull request #26 from Rrogntudju/strip-modif
Ignore strip option when platform is win32
2 parents 6ef3686 + 0605279 commit 2f133f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools_rust/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def build_extension(self, ext):
218218

219219
shutil.copyfile(dylib_path, ext_path)
220220

221-
if not debug_build:
221+
if sys.platform != "win32" and not debug_build:
222222
args = []
223223
if ext.strip == Strip.All:
224224
args.append('-x')

0 commit comments

Comments
 (0)