Explorar o código

dynapi: order headers for reproducible behavior

Anonymous Maarten hai 1 ano
pai
achega
ec2ef5f9b5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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