mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
[mlir][python] disable nanobind leak warnings (#121099)
This commit is contained in:
@@ -2587,6 +2587,8 @@ private:
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
void mlir::python::populateIRCore(nb::module_ &m) {
|
||||
// disable leak warnings which tend to be false positives.
|
||||
nb::set_leak_warnings(false);
|
||||
//----------------------------------------------------------------------------
|
||||
// Enums.
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user