pub fn rustc_link_arg_examples(flag: &str)
The rustc-link-arg-examples instruction tells Cargo to pass the [-C link-arg=FLAG option][link-arg] to the compiler, but only when building an examples target.
rustc-link-arg-examples
-C link-arg=FLAG