We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
supported-crate-types
1 parent 1985bf1 commit 037c4cdCopy full SHA for 037c4cd
src/doc/rustc/src/command-line-arguments.md
@@ -292,6 +292,9 @@ The valid types of print values are:
292
components alongside a Rust build that need this information, such as C compilers.
293
This returns rustc's minimum supported deployment target if no `*_DEPLOYMENT_TARGET` variable
294
is present in the environment, or otherwise returns the variable's parsed value.
295
+- `supported-crate-types` — Which crate types are supported for the given target.
296
+ The output is a list of newline-delimited crate types (the values correspond to the
297
+ crate type strings accepted by `--crate-type`).
298
299
A filepath may optionally be specified for each requested information kind, in
300
the format `--print KIND=PATH`, just like for `--emit`. When a path is
0 commit comments