We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.comment
1 parent 2dd5caf commit 1394774Copy full SHA for 1394774
scripts/is_rust_module.sh
@@ -10,4 +10,7 @@ set -e
10
# Using the `16_` prefix ensures other symbols with the same substring
11
# are not picked up (even if it would be unlikely). The last part is
12
# used just in case LLVM decides to use the `.` suffix.
13
+#
14
+# In the future, checking for the `.comment` section may be another
15
+# option, see https://github.com/rust-lang/rust/pull/97550.
16
${NM} "$*" | grep -qE '^[0-9a-fA-F]+ r _R[^[:space:]]+16___IS_RUST_MODULE[^[:space:]]*$'
0 commit comments