Skip to content

Commit f83962e

Browse files
committed
update-api-list: Match subdirectories within arch
1 parent 725484e commit f83962e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/update-api-list.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ def _init_defs(self, index: IndexTy) -> None:
123123

124124
# A lot of the `arch` module is often configured out so doesn't show up in docs. Use
125125
# string matching as a fallback.
126-
for fname in glob("libm/src/math/arch/**.rs", root_dir=ROOT_DIR):
126+
for fname in glob(
127+
"libm/src/math/arch/**/*.rs", root_dir=ROOT_DIR, recursive=True
128+
):
127129
contents = (ROOT_DIR.joinpath(fname)).read_text()
128130

129131
for name in self.public_functions:

0 commit comments

Comments
 (0)