Skip to content

Commit 68f74a4

Browse files
committed
no_mangle
1 parent b962c7b commit 68f74a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/0000-dll-kind.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Add a new value `dll` to the `kind` property of the `link` attribute. When this
6565
* If `#[link_name]` is specified the idata section will map from the mangled symbol to the name specified in the dll, without any calling convention decorations added. If calling convention decorations are desired they must be specified explicitly in the value of the `#[link_name]` attribute.
6666
* If both `#[link_ordinal]` and `#[link_name]` are specified, an error will be emitted.
6767
* If neither `#[link_ordinal]` nor `#[link_name]` are specified, the idata section will map from the mangled symbol to its unmangled equivalent in the dll. The unmangled symbol will *not* have calling convention decorations.
68+
* If `#[no_mangle]` is specified an error will be emitted.
6869

6970
The idata section that is produced is equivalent to the idata sections found in import libraries, and should result in identical code generation by the linker.
7071

0 commit comments

Comments
 (0)