Просмотр исходного кода

dynapi: order headers for reproducible behavior

Anonymous Maarten 1 год назад
Родитель
Сommit
ec2ef5f9b5
1 измененных файлов с 3 добавлено и 0 удалено
  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