diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index fb1d15fd86dfab8f2dd06ff9f2820fc855fe6637..aae3416e082f458870977b56fd083a14654b748d 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -45,6 +45,7 @@ default_changelog_locations = {
     'gcc/objc',
     'gcc/objcp',
     'gcc/po',
+    'gcc/rust',
     'gcc/testsuite',
     'gnattools',
     'gotools',
@@ -122,6 +123,7 @@ bug_components = {
     'preprocessor',
     'regression',
     'rtl-optimization',
+    'rust',
     'sanitizer',
     'spam',
     'target',