update-api-list: Match subdirectories within arch
This commit is contained in:
parent
1c5f8cc72d
commit
2705f686b5
1 changed files with 3 additions and 1 deletions
|
|
@ -123,7 +123,9 @@ class Crate:
|
|||
|
||||
# A lot of the `arch` module is often configured out so doesn't show up in docs. Use
|
||||
# string matching as a fallback.
|
||||
for fname in glob("libm/src/math/arch/**.rs", root_dir=ROOT_DIR):
|
||||
for fname in glob(
|
||||
"libm/src/math/arch/**/*.rs", root_dir=ROOT_DIR, recursive=True
|
||||
):
|
||||
contents = (ROOT_DIR.joinpath(fname)).read_text()
|
||||
|
||||
for name in self.public_functions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue