We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 44554f5 + cbe01d7 commit 2f5f24cCopy full SHA for 2f5f24c
cargo-auditable/src/rustc_wrapper.rs
@@ -128,7 +128,8 @@ fn rustc_command_with_audit_data(rustc_path: &OsStr) -> Option<Command> {
128
// Prevent the symbol from being removed as unused by the linker
129
if is_apple(&target_info) {
130
if args.bare_linker() {
131
- command.arg("-Clink-arg=-u,_AUDITABLE_VERSION_INFO");
+ command.arg("-Clink-arg=-u");
132
+ command.arg("-Clink-arg=_AUDITABLE_VERSION_INFO");
133
} else {
134
command.arg("-Clink-arg=-Wl,-u,_AUDITABLE_VERSION_INFO");
135
}
0 commit comments