We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caa964b commit cbe01d7Copy full SHA for cbe01d7
1 file changed
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