HomePhabricator

distutils_rust: teach distutils to look for windows libs

Authored by ikostia.

Description

distutils_rust: teach distutils to look for windows libs

Summary: Make sure that we can build Rust extensions on Windows.

Test Plan:

  • set USERUST=1
  • run FB build script, which invokes fb-hgext's setup.py
  • see it not failing

Reviewers: mbthomas, #fbhgext

Differential Revision: https://phab.mercurial-scm.org/D1590