This is a tracking issue for native link modifier verbatim, which is a part of RFC "Linking modifiers for native libraries" (#81490, rust-lang/rfcs#2951).
The feature gate for the issue is #![feature(native_link_modifiers_verbatim)].
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Unresolved Questions
-l:libfoo.a is not entirely verbatim, there's still no way to pass a library by full path (without the -l option), like /path/to/libfoo.a, while still respecting relative order of passed libraries, -C link-arg=/path/to/libfoo.a will put the option at the end of the command line instead.
-l link-arg=/path/to/libfoo.a (#99427) will likely help with this situation.
Implementation history
This is a tracking issue for native link modifier
verbatim, which is a part of RFC "Linking modifiers for native libraries" (#81490, rust-lang/rfcs#2951).The feature gate for the issue is
#![feature(native_link_modifiers_verbatim)].About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Unresolved Questions
-l:libfoo.ais not entirely verbatim, there's still no way to pass a library by full path (without the-loption), like/path/to/libfoo.a, while still respecting relative order of passed libraries,-C link-arg=/path/to/libfoo.awill put the option at the end of the command line instead.-l link-arg=/path/to/libfoo.a(#99427) will likely help with this situation.Implementation history