Skip to content

Commit a83ac4c

Browse files
alexmalyshevmeta-codesync[bot]
authored andcommitted
Allow loading _cinderx on macOS
Summary: It won't work for most users because of aarch64, but at least it'll help us experiment. Reviewed By: yoney Differential Revision: D84923694 fbshipit-source-id: 33a9f18ee7aaeff762831030adab08875fab1af5
1 parent e6e925b commit a83ac4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cinderx/PythonLib/cinderx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def is_supported_runtime() -> bool:
3232
native extension.
3333
"""
3434

35-
if sys.platform != "linux":
35+
if sys.platform not in ("darwin", "linux"):
3636
return False
3737

3838
version = (sys.version_info.major, sys.version_info.minor)

0 commit comments

Comments
 (0)