aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/lib')
-rw-r--r--codegen/lib/code/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/code/tags.py b/codegen/lib/code/tags.py
index 40b60ae3..ae409001 100644
--- a/codegen/lib/code/tags.py
+++ b/codegen/lib/code/tags.py
@@ -16,7 +16,7 @@ use crate::{struct_name};
'''
- for tag_name, tag in registries.items():
+ for tag_name, tag in sorted(registries.items(), key=lambda x: x[0]):
tag_name = tag_name.replace('/', '_')
static_set_name = to_snake_case(tag_name).upper()
generated += f'pub static {static_set_name}: Lazy<HashSet<{struct_name}>> = Lazy::new(|| HashSet::from_iter(vec!['