setup.py
changeset 44115 e1b8b4e4f496
parent 44080 4e05272dd681
child 44170 0ab651b5f77c
child 44202 a7f8160cc4e4
equal deleted inserted replaced
44114:8a3b045d9086 44115:e1b8b4e4f496
  1380 
  1380 
  1381 
  1381 
  1382 class RustEnhancedExtension(RustExtension):
  1382 class RustEnhancedExtension(RustExtension):
  1383     """A C Extension, conditionally enhanced with Rust code.
  1383     """A C Extension, conditionally enhanced with Rust code.
  1384 
  1384 
  1385     If the HGRUSTEXT environment variable is set to something else
  1385     If the HGWITHRUSTEXT environment variable is set to something else
  1386     than 'cpython', the Rust sources get compiled and linked within the
  1386     than 'cpython', the Rust sources get compiled and linked within
  1387     C target shared library object.
  1387     the C target shared library object.
  1388     """
  1388     """
  1389 
  1389 
  1390     def __init__(self, mpath, sources, rustlibname, subcrate, **kw):
  1390     def __init__(self, mpath, sources, rustlibname, subcrate, **kw):
  1391         RustExtension.__init__(
  1391         RustExtension.__init__(
  1392             self, mpath, sources, rustlibname, subcrate, **kw
  1392             self, mpath, sources, rustlibname, subcrate, **kw