equal
deleted
inserted
replaced
607 |
607 |
608 # Build Rust standalon extensions if it'll be used |
608 # Build Rust standalon extensions if it'll be used |
609 # and its build is not explictely disabled (for external build |
609 # and its build is not explictely disabled (for external build |
610 # as Linux distributions would do) |
610 # as Linux distributions would do) |
611 if self.distribution.rust and self.rust: |
611 if self.distribution.rust and self.rust: |
|
612 if not sys.platform.startswith('linux'): |
|
613 self.warn( |
|
614 "rust extensions have only been tested on Linux " |
|
615 "and may not behave correctly on other platforms" |
|
616 ) |
|
617 |
612 for rustext in ruststandalones: |
618 for rustext in ruststandalones: |
613 rustext.build('' if self.inplace else self.build_lib) |
619 rustext.build('' if self.inplace else self.build_lib) |
614 |
620 |
615 return build_ext.build_extensions(self) |
621 return build_ext.build_extensions(self) |
616 |
622 |