We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f091939 commit 8a9c8c7Copy full SHA for 8a9c8c7
setuptools_rust/build.py
@@ -190,8 +190,8 @@ def build_extension(
190
*ext.rustc_flags,
191
]
192
193
- # OSX requires special linker arguments
194
- if rustc_cfgs.get("target_os") == "macos":
+ # Apple platforms require special linker arguments
+ if rustc_cfgs.get("target_os") in {"macos", "ios", "tvos", "watchos"}:
195
ext_basename = os.path.basename(self.get_dylib_ext_path(ext, ext.name))
196
rustc_args.extend(
197
[
0 commit comments