You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--TODO: should this clarify that external block items are already unmangled?, and thus the attribute does nothing?Currently it is "phased out" warning.-->
97
98
98
99
r[abi.no_mangle.duplicates]
99
-
Only the first instance of `no_mangle` on an item is honored.Subsequent `no_mangle` attributes are ignored.
100
+
The`no_mangle` attribute may be used any number of times on a form.
100
101
101
102
> [!NOTE]
102
-
> `rustc` currently warns on subsequent duplicate `no_mangle` attributes.
103
+
> `rustc` lints against any use following the first.
103
104
104
105
r[abi.no_mangle.export_name]
105
106
If `no_mangle` is used with [`export_name`][abi.export_name], then the `export_name` is used instead.
0 commit comments