about summary refs log tree commit diff
path: root/src/doc/rustc
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2023-03-27 10:42:22 -0700
committerDaniel Paoliello <danpao@microsoft.com>2023-04-18 11:01:07 -0700
commit1ece1ea48c0d9e4c8414abf872626f7a54747976 (patch)
tree2c046e9550324d191c375622ee6837caf7dc5701 /src/doc/rustc
parentde96f3d8735b70d5dc1ca178aaee198b329b8f3d (diff)
downloadrust-1ece1ea48c0d9e4c8414abf872626f7a54747976.tar.gz
rust-1ece1ea48c0d9e4c8414abf872626f7a54747976.zip
Stablize raw-dylib, link_ordinal and -Cdlltool
Diffstat (limited to 'src/doc/rustc')
-rw-r--r--src/doc/rustc/src/codegen-options/index.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/doc/rustc/src/codegen-options/index.md b/src/doc/rustc/src/codegen-options/index.md
index d7c6a884fc8..b7fa7243cc1 100644
--- a/src/doc/rustc/src/codegen-options/index.md
+++ b/src/doc/rustc/src/codegen-options/index.md
@@ -90,6 +90,14 @@ It takes one of the following values:
 For example, for gcc flavor linkers, this issues the `-nodefaultlibs` flag to
 the linker.
 
+## dlltool
+
+On `windows-gnu` targets, this flag controls which dlltool `rustc` invokes to
+generate import libraries when using the [`raw-dylib` link kind](../../reference/items/external-blocks.md#the-link-attribute).
+It takes a path to [the dlltool executable](https://sourceware.org/binutils/docs/binutils/dlltool.html).
+If this flag is not specified, a dlltool executable will be inferred based on
+the host environment and target.
+
 ## embed-bitcode
 
 This flag controls whether or not the compiler embeds LLVM bitcode into object