Procházet zdrojové kódy

dynapi: order headers for reproducible behavior

Anonymous Maarten před 1 rokem
rodič
revize
ec2ef5f9b5
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      src/dynapi/gendynapi.py

+ 3 - 0
src/dynapi/gendynapi.py

@@ -444,6 +444,9 @@ def get_header_list() -> list[Path]:
         else:
             logger.debug("Skip %s", f)
 
+    # Order headers for reproducible behavior
+    ret.sort()
+
     return ret
 
 # Write the new API in files: _procs.h _overrivides.h and .sym