equal
deleted
inserted
replaced
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 |