Expand description
Parser for the -l command-line option, which links the generated crate to
a native library.
(There is also a similar but separate syntax for #[link] attributes,
which have their own parser in rustc_metadata.)
Structsยง
- Native
LibParts ๐ - Parse
Native ๐LibCx
Functionsยง
- parse_
and_ ๐apply_ modifier - Parses one of the comma-separated modifiers (prefixed by
+or-), and modifiesnative_libappropriately. - parse_
native_ ๐lib - Parses the value of a single
-loption. - parse_
native_ ๐libs - Parses all
-loptions. - split_
native_ ๐lib_ value - Splits a string of the form
[KIND[:MODIFIERS]=]NAME[:NEW_NAME]into those individual parts. This cannot fail, but the resulting strings require further validation.