File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ pub fn rustc_link_arg_bins(flag: &str) {
119
119
/// The `rustc-link-arg-tests` instruction tells Cargo to pass the
120
120
/// [`-C link-arg=FLAG` option][link-arg] to the compiler, but only when building
121
121
/// a tests target.
122
+ ///
123
+ /// [link-arg]: https://doc.rust-lang.org/rustc/codegen-options/index.html#link-arg
122
124
#[ track_caller]
123
125
pub fn rustc_link_arg_tests ( flag : & str ) {
124
126
if flag. contains ( [ ' ' , '\n' ] ) {
@@ -130,6 +132,8 @@ pub fn rustc_link_arg_tests(flag: &str) {
130
132
/// The `rustc-link-arg-examples` instruction tells Cargo to pass the
131
133
/// [`-C link-arg=FLAG` option][link-arg] to the compiler, but only when building
132
134
/// an examples target.
135
+ ///
136
+ /// [link-arg]: https://doc.rust-lang.org/rustc/codegen-options/index.html#link-arg
133
137
#[ track_caller]
134
138
pub fn rustc_link_arg_examples ( flag : & str ) {
135
139
if flag. contains ( [ ' ' , '\n' ] ) {
@@ -141,6 +145,8 @@ pub fn rustc_link_arg_examples(flag: &str) {
141
145
/// The `rustc-link-arg-benches` instruction tells Cargo to pass the
142
146
/// [`-C link-arg=FLAG` option][link-arg] to the compiler, but only when building
143
147
/// a benchmark target.
148
+ ///
149
+ /// [link-arg]: https://doc.rust-lang.org/rustc/codegen-options/index.html#link-arg
144
150
#[ track_caller]
145
151
pub fn rustc_link_arg_benches ( flag : & str ) {
146
152
if flag. contains ( [ ' ' , '\n' ] ) {
You can’t perform that action at this time.
0 commit comments